Store notes to myself here. Perl command to do a regexp replacement of files: perl -pi -e 's/old_string/new_string/g' file_pattern