Search and Replace over Multiple Files
December 30th, 2008 Category: LinuxSometimes you need to search and replace strings over multiple files. This can easily be done using perl. I found this tip from www.liamdelahunty.com/tips
perl -pi -w -e 's/search/replace/g;' *.php -e means execute the following line of code. -i means edit in-place -w write warnings -p loop
Related posts:













Leave a Reply