bug-sh-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: possible echo -e bug in bash


From: Richard Dawe
Subject: Re: possible echo -e bug in bash
Date: Tue, 16 Jul 2002 18:46:05 +0100

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/ ]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]