BASH and YES or ECHO cannot send "!"

Synister Syntax synistersyntaxlist at gmail.com
Wed Dec 14 03:54:26 UTC 2005


echo "Hello World! "

also works...

     Just don't have !" on top of each other like that.  An extra
spcae should't get in the way?
Hope this adds to your research.

On 12/13/05, Steffen Kluge <kluge at fujitsu.com.au> wrote:
> On Tue, 2005-12-13 at 11:40 -0600, Mike McCarty wrote:
> > $ echo "Hello there\!"
> > Hello there\!
>
> The double quotes take the shine off the backslash, so to speak, and
> make it ordinary.
>
> > $ echo 'Hello there!'
> > Hello there!
>
> $ echo Hello there\!
>
> would have worked, too.
>
> Cheers
> Steffen.
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQBDn42Fqm99Rhir+FkRAq/oAKC247eZi+N2VB2kk+aolJhJtyNBcQCgh6+T
> 4L2mFRZcJMJWC9tHZfO+GME=
> =WxTQ
> -----END PGP SIGNATURE-----
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>


--
Regards,
SynSyn
Netowork Manager, Server Administrator, Security Specialist
(http://www.teamtrinix.com)




More information about the users mailing list