Everything is broken.

How to make a backup + perform a search and replace on multiple files.

Using perl of coarse. It took me a second to get this to work; but its pretty easy:

perl  -pi.bak -e ’s/string1/string2/g’

Leave a Reply

December 2007
M T W T F S S
« Nov   Jan »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Other

Syndication