Re: Multible search and replace?
Chad Zimmerman (chad@dabcc-www.nmsu.edu) wrote:
: Was just wondering if there is a package out that does multiple file
: search and replaces? I have to go through my main html directory and make
: a lot of repetive changes. Was wondering if there was a package or a perl
: script laying arround to do this. Would same me the time of writing one
: up.
I think you should be able to do that with sed : sed s/X/Y filename
replaces all Xs with Ys in the file 'filename'. I dunno if it takes * as
an argument, but if it doesn't you should still be able to do it using
xargs.
Mat
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: