Backslashed escape sequences
Marc W. Abel
me at marcabel.com
Fri Sep 19 01:02:53 UTC 2008
Gladly. In a Linux console or xterm, you can
gnu-bash $ echo \\ec
will clear the screen
That's bash behavior, not coreutils echo behavior.
busybox $ echo \\ec
will output "\ec" on the next line
any-shell-on-gnu-coreutils-system $ /bin/echo \\ec
does what Busybox does
The FSF is not tremendously consistent across equivalent utilities; they
own the copyrights to bash's echo and coreutils's echo, yet they behave
differently.
There are parallels in gcc's c compiler.
Thanks!
Marc
On Fri, Sep 19, 2008 at 01:50:56AM +0200, Denys Vlasenko wrote:
> Please give an example where busybox's behavior differs from
> corresponding "standard" tool.
More information about the busybox
mailing list