Re: Vi or sed wizard needed


Subject: Re: Vi or sed wizard needed
From: Joakim Ryden (jo@our-own.net)
Date: Tue Jul 31 2001 - 20:07:13 MDT


find /start/dir/to/descend -type f | xargs perl -i -wpe 's/Your
line/Your new line/'

That should do it for you. Let me know.

--Jo

On 31 Jul 2001 16:42:50 -0500, Robert Brandtjen wrote:
> I need to descend through a directory and change a line on about 25 files to
> another line of text.
>
> I know it's possible to do this but my brain will not focus on it. Any help
> would be much appreciated.
>
> Robert Brandtjen
> --------------------------------------
> Web Site Creation and Hosting Services
> Hostmaster@prometheusmedia.com
> www.prometheusmedia.com
>



This archive was generated by hypermail 2a24 : Tue Jul 31 2001 - 18:06:30 MDT