Simple Perl Howto
Search and replace text in multiple files perl -pi -e ‘s/OLD_TEXT/NEW_TEXT/’ FILE_PATTERN e.g. perl -pi -e ‘s/Hello World/Goodbye World/’ hello.c
Search and replace text in multiple files perl -pi -e ‘s/OLD_TEXT/NEW_TEXT/’ FILE_PATTERN e.g. perl -pi -e ‘s/Hello World/Goodbye World/’ hello.c
I have a simple perl subroutine that I use often to create a log file for my scripts. This is not the