[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in echo command
From: |
Alfred M. Szmidt |
Subject: |
Re: bug in echo command |
Date: |
Mon, 5 Jan 2004 14:28:52 +0100 (MET) |
the echo command doesn't read string sequences such as \c or \r
even when the option -E is not used. for example:
echo "Today is \c "
produces
Today is c
on the screen.
>From the manual, (coreutils) echo invocation:
`-e'
Enable interpretation of the following backslash-escaped
characters in each STRING:
`\a'
alert (bell)
`\b'
backspace
`\c'
suppress trailing newline
`\f'
form feed
`\n'
new line
`\r'
carriage return
`\t'
horizontal tab
`\v'
vertical tab
`\\'
backslash
`\NNN'
the character whose ASCII code is NNN (octal); if NNN is not
a valid octal number, it is printed literally.