[GLLUG] Change text in multiple files
Clay Dowling
clay at lazarusid.com
Tue Jul 27 12:20:28 EDT 2004
Seth Bembeneck wrote:
> Is there an easy way to change text in lots of files at one time?
>
>
>
> Specifically, I need to change all references to “index.php” in my php
> scripts to “home.php”
>
>
>
> The php files are spread out among several sub-folders.
>
>
>
> Is this possible??
highly possible using perl and the substitution functions. There are
probably command line methods as well, but when I've had to do this in
the past I used perl.
Clay
--
http://www.lazarusid.com/notes/
Lazarus Notes
Articles and Commentary on Web Development
More information about the linux-user
mailing list