bug-coreutils
[Top][All Lists]
Advanced

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

Re: "echo -e" bug


From: Micah Cowan
Subject: Re: "echo -e" bug
Date: Wed, 02 Jul 2008 09:00:29 -0700
User-agent: Thunderbird 2.0.0.14 (X11/20080505)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Panin wrote:
> Hi!
> 
> I can't make echo to show \n and \r symbols. According to 'man echo',
> there's a way to do this by using '-e' option.
> 
> However, this doesn't help. Doesn't even matter which option I choose
> (even 'echo -e \015'), it just shows '015' literally.

More likely, shell interpretation. The shell will turn a bare \015 into
015. Try quoting it, such as with '\015' or \\015.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer,
and GNU Wget Project Maintainer.
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIa6Yd7M8hyUobTrERAuGWAJ9qMK0eAqzi6VFYN9ciuXGoX1pOnQCfX3rU
Yxce1wcigJKUviZcnBFHeUk=
=/M09
-----END PGP SIGNATURE-----




reply via email to

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