bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PS1 multiline with colors


From: Geir Hauge
Subject: Re: PS1 multiline with colors
Date: Tue, 9 Jul 2013 22:35:45 +0200

2013/7/9 Dan Douglas <ormaaj@gmail.com>

> Can also give all the debug output %q formatting.
>
> exec {BASH_XTRACEFD}> >(set +x; while IFS= read -r x; do printf %q\\n
> "$x"; done)


Note that {BASH_XTRACEFD}>... won't work in bash 4.2 (or older). It's fixed
for the next release though.

http://lists.gnu.org/archive/html/bug-bash/2012-09/msg00006.html

-- 
Geir Hauge


reply via email to

[Prev in Thread] Current Thread [Next in Thread]