[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Basic admin question
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Basic admin question
- From: gargarmel <gargarmel_(_at_)_gmx_(_dot_)_net>
- Date: 17 Dec 2002 01:09:23 +0100
perl -p -i -e 's/foo/bar/g' *
or have a look at sed. it's available at early runlevels when perl's
still asleep. :o)
Am Die, 2002-12-17 um 00.58 schrieb Greg Thomas:
> I have about 40 text files in which I need to change one phrase to
> another. Can someone suggest a good tool for the job? Please don't
> tell me how to do it, I just want a pointer to an existing tool or what
> utilities to throw into a small script.
> I know this is off-topic (but it is on my OpenBSD box), I just want to
> get people's minds off of the CD thread.