GNU bug report logs - #19243
echo comand bug

Previous Next

Package: coreutils;

Reported by: "Chema F. Ledesma" <hecam33 <at> gmail.com>

Date: Mon, 1 Dec 2014 18:02:03 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Erik Auerswald <auerswal <at> unix-ag.uni-kl.de>
To: 19243-done <at> debbugs.gnu.org, "Chema F. Ledesma" <hecam33 <at> gmail.com>
Subject: bug#19243: echo comand bug
Date: Tue, 2 Dec 2014 10:28:27 +0100
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




This bug report was last modified 10 years and 229 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.