On Friday 19 September 2008 03:02, Marc W. Abel wrote: > 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.
You mean "echo -e \\ec"? > > 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. Seems like a discrepancy between bash and coreutils. All manpages I can find do not mention \e. Let's not torture ourself yet trying to mimic both at once, especially that \x1b and \033 work. -- vda _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
