WEB-NES-BAY

Learn Tips and tricks on Linux, Hacking, linux, PHP, Perl, Web, Hardware

bookmark bookmark
Posted by WEBNESBAY ADD COMMENTS

This is a script I use whenever I need to do search and replace in a bunch of files. It was meant as a quick hack, but since I does exactly what I need, I continue to use it (always make a backup of the original files in case something goes wrong).
#!/usr/bin/perl -w
#
# More scripts and tips can be found at
# http://www.edlin.org/
#
# Search and replace in several files
#
# I throw this file [...]

Categories: Perl
Posted by WEBNESBAY ADD COMMENTS

This is a script I use whenever I need to do search and replace in a bunch of files. It was meant as a quick hack, but since I does exactly what I need, I continue to use it (always make a backup of the original files in case something goes wrong).
#!/usr/bin/perl -w
#
# More scripts and tips can be found at
# http://www.edlin.org/
#
# Search and replace in several files
#
# I throw this file [...]

Categories: Perl