[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug /bin/echo does not perform according to documentation
From: |
John Hutchins |
Subject: |
bug /bin/echo does not perform according to documentation |
Date: |
Mon, 16 Feb 2004 14:03:03 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.0.1) Gecko/20020827 Netscape/7.0 |
address@hidden
Found that /bin/echo will not read \007 or \033 as bel and esc.
\c does not stop a new line.
Is there a patch,fix?
/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.
/bin/echo --help
Usage: /bin/echo [OPTION]... [STRING]...
Echo the STRING(s) to standard output.
-n do not output the trailing newline
-e enable interpretation of the backslash-escaped characters
listed below
-E disable interpretation of those sequences in STRINGs
--help display this help and exit (should be alone)
--version output version information and exit (should be alone)
Without -E, the following sequences are recognized and interpolated:
\NNN the character whose ASCII code is NNN (octal)
\\ backslash
\a alert (BEL)
\b backspace
\c suppress trailing newline
\f form feed
\n new line
\r carriage return
\t horizontal tab
\v vertical tab
--
.... ..- - -.-. ....
John Hutchins Legerity Inc.
Phone 512-228-5612
Fax 512-228-5901 Email address@hidden
########################################################################
# This email may contain confidential material for the sole use of the
# intended recipient. In the event of confidential transmission, any
# review or distribution by others is strictly prohibited. If you are
# not the intended recipient please contact the sender and delete all
# copies.
########################################################################
- bug /bin/echo does not perform according to documentation,
John Hutchins <=