Re: possible echo -e bug in bash
Richard Dawe <[email protected]> Tue, 16 Jul 2002 18:46:05 +0100
| Newsgroups | gmane.comp.gnu.sh-utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hello.
"M. Johnson" wrote:
> in bash 2.05a.0(1)-release,
> echo -e "\\a"
> seems like it should print "\a" to the console, but in actuality it beeps
> and prints nothing.
You've got the quoting wrong. "\\a" will be passed to the 'echo' command as:
\a
which will cause the beep. Try this instead:
echo -e '\\a'
Regards,
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]