Hi,

On Mon, Dec 01, 2014 at 11:12:51AM -0700, Eric Blake wrote:
> On 12/01/2014 10:56 AM, Chema F. Ledesma wrote:
> > 
> > If you execute echo "!!!!!!!!!!!!!!!!!!!!!!!!" it does something strange
> > repeating the last command before echo comand.
> 
> Thanks for the report.  However, this is not a bug in 'echo', but a
> feature of your shell.

And because of this you can use single quotes instead of double quotes to
print those exclamation marks:

$ echo '!!!!!!!!!!!!!!!!!!!!!!!!'
!!!!!!!!!!!!!!!!!!!!!!!!

Thanks,
Erik
-- 
Be water, my friend.
                        -- Bruce Lee



Reply via email to