Absolutely, but in the interests of a linear explanation I chose to kill a
cat.

BTW I'm more of a dog person.

Barry - Volker's example does exactly the same as my previous one, but saves
some typing at the expense of linear readability.


-----Original Message-----
From: Volker Kuhlmann [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 1 June 2006 9:14 p.m.
To: [email protected]
Subject: Re: Replacing text


> cat filename | sed s/string 1/string 2/g > filename2

Let's be geeks. Let's be lazy:

sed s/string 1/string 2/g < filename > filename2

Volker

-- 
Volker Kuhlmann                 is list0570 with the domain in header
http://volker.dnsalias.net/     Please do not CC list postings to me.

Reply via email to