bug-gnu-utils
[Top][All Lists]
Advanced

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

sed awk bug


From: Gary Knott
Subject: sed awk bug
Date: Wed, 28 Apr 2004 19:26:02 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Dear Gnu bug-fixer,

The sed command we need to replace zzz with & everywhere in the file F
is:

sed -e s/zzz/\&/g F

But it does not work!  The & is still replaced by
the matched pattern zzz, even though it is escaped.


(There is a similar problem in awk.)

Thanks for your help.

By the way, if there is a way you know for me to solve this problem
now, please email me about it.

--
==============================================================
| Spoken: Gary D. Knott      Email: address@hidden       |
| Phone: (301) 962-3711      MIME mail welcome                |
|                                                             |
| web: www.civilized.com  (Please look at our HomePage!)      |
| USPS: Civilized Software Inc., 12109 Heritage Park Circle,  |
|       Silver Spring, Maryland 20906, USA                    |
==============================================================





reply via email to

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