Re: bug /bin/echo does not perform according to documentation

[email protected] 18 Feb 2004 13:35:00 +0200
Newsgroups gmane.comp.gnu.sh-utils.bugs
Organization People Who Are Not Old Enough For Unix (Honorary Member Emeritus)
Message-ID <[email protected]>
On Mon, 16 Feb 2004 14:03:03 -0600, John Hutchins
<[email protected]> posted to bug-sh-utils:
 > [email protected]
 > Found that /bin/echo will not read \007 or \033 as bel and esc.
 > \c does not stop a new line.

Works here.

 $ /bin/echo -e '\007\033\c' | od -t x1
 0000000 07 1b
 0000002

Did you miss the part which says you need -e to enable this behavior?

 > /bin/echo --version
 > echo (GNU sh-utils) 2.0.11
 > Written by FIXME unknown.

Same here:

 $ /bin/echo --version
 echo (GNU sh-utils) 2.0.11
 Written by FIXME unknown.

 Copyright (C) 2000 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Incidentally, sh-utils is now part of coreutils. Perhaps you want to
upgrade / sidegrade. See <http://www.gnu.org/software/coreutils/>

Hope this helps,

/* era */

-- 
formail -s procmail <http://www.iki.fi/era/spam/ >http://www.euro.cauce.org/
cat | more | cat<http://www.iki.fi/era/unix/award.html>http://www.debian.org/