in reply to Best way to edit a file?

perl -i -pe 's/OLD/NEW/g' <file_name>
there are lot of unix utilities are there to do the same. ( sed, awk , so on )


hmmm ....let me think what did I said