Pádraig Brady wrote: > Eric Blake wrote: >> According to Jim Meyering on 10/28/2009 5:31 AM: >>>> * src/echo.c (usage): Likewise. >>>> Also mention the \xHH escape sequence. >> >> While we're at it, bash's builtin echo supports \E as an escape for ascii >> ESC; do we want to add that as well, for consistency across GNU projects? > > Great minds think alike :) > Note gcc, perl, bash, ksh and tcsh support \e > while POSIX, dash & python do not.
;-) Looks fine. Thanks! > commit 983b46bfa497aef12680e4a732cf5556de96a053 > Author: Pádraig Brady <p...@draigbrady.com> > Date: Tue Oct 27 10:04:34 2009 +0000 > > echo, printf: interpret \e as the Escape character > > * src/printf.c (?): Output \x1B when \e encountered. > * src/echo.c (?): Likewise. > * doc/coreutils.texi (echo invocation): Add \e to the list. > * NEWS: Mention the change in behaviour.