Re: builtin printf ignores straight '\c'

2008-08-12 Thread Chet Ramey
> Bash's printf appears to ignore the \c backslash escape: This is, as you noted, as Posix specifies. > When \c is provided via the %b conversion specifier, it is > interpreted: Again, this is as posix specifies. I'm not inclined to change the current behavior. Chet -- ``The lyf so short, t

builtin printf ignores straight '\c'

2008-08-12 Thread Benno Schulenberg
Hi, Bash's printf appears to ignore the \c backslash escape: $ printf "before \c after \a" before \c after $ $ type printf printf is a shell builtin Of course the Open Group's description of printf (http://www.opengroup.org/onlinepubs/95399/utilities/printf.html) does not specify that \c i