Backslashed escape sequences

Roy Marples roy at marples.name
Sun Sep 21 07:14:18 UTC 2008


On Saturday 20 September 2008 17:51:51 Denys Vlasenko wrote:
> On Saturday 20 September 2008 04:56, Marc W. Abel wrote:
> > Correct -- I missed the -e in the example.
> >
> Can you push bash and coreutils (echo and prints utilities in particular)
> to decide what is the right thing to do?
>
> busybox will then just adopt their behavior.

No need - bash just adds -e and -E to echo so that bash can enable/disable 
parsing of escapes.

coretuils echo is like posix - it doesn't do it.
If you want escape codes then use printf and don't force more bashisms.

Thanks

Roy



More information about the busybox mailing list