bug-bash
[Top][All Lists]
Advanced

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

Re: Backslash quoting the history character within double-quotes


From: Paul Jarc
Subject: Re: Backslash quoting the history character within double-quotes
Date: Thu, 21 Mar 2002 13:00:23 -0500
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/20.7 (i386-redhat-linux-gnu)

Bruce LaZerte <address@hidden> wrote:
> HELP=Help
> echo "$HELP me rhonda\!"
>
> gives me the following:
>
> Help me rhonda\!
...
> Without the backslash, !" does a history expansion equivalent to
> typing !" at the command line.

I don't know if there's a bug here, but you can work around it like
this:
echo "$HELP"' me rhonda!'


paul



reply via email to

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