diff options
author | Pádraig Brady <P@draigBrady.com> | 2009-10-27 10:04:34 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2009-10-28 16:37:07 +0000 |
commit | 2904d675a49cdd7cb2372f50592a6823106aa0f7 (patch) | |
tree | 4ec374f8d26b4f1ac3e7454233ab0adc732cc2b8 /m4/prereq.m4 | |
parent | 54491d275184428be6e28e3f22f04859b7288105 (diff) | |
download | coreutils-2904d675a49cdd7cb2372f50592a6823106aa0f7.tar.xz |
echo, printf: interpret \e as the Escape character
Match gcc, perl, bash, ksh, tcsh, ... in supporting \e.
* src/printf.c (print_escape_char): Output \x1B when \e encountered.
* src/echo.c (main): Likewise.
* src/stat.c (print_escape_char): Likewise.
* doc/coreutils.texi (echo invocation): Add \e to the list.
* tests/misc/printf: Verify that \e outputs \x1B.
* NEWS: Mention the change in behaviour.
Diffstat (limited to 'm4/prereq.m4')
0 files changed, 0 insertions, 0 deletions