bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] doc: improve the echo and printf help on escapes


From: Jim Meyering
Subject: Re: [PATCH] doc: improve the echo and printf help on escapes
Date: Wed, 28 Oct 2009 13:15:47 +0100

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 <address@hidden>
> 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.




reply via email to

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