[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SLUG] search and replace
On Wed, 28 Jun 2000, Tony Cook wrote:
> Perl has a handy in-place edit feature:
>
> perl -i.bak -pe 's/\.org/.com/g' files ...
Edit replace save
lots of possible ways
but Perl saves the day
Rodos ;-)
--
rodos@nospam.haywood.org | Debugging is anticipated with distaste, performed with
Camion Technology | reluctance, and bragged about forever. [Anon]
+61 2 9873 5105 |
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text