in reply to Adding characters to the beginning of a file

Please see How do I change one line in a file/delete a line in a file/insert a line in the middle of a file/append to the beginning of a file?. Short answer you can't. Long answer, of course you can but it takes a teeny bit of work.

--
perl -pe "s/\b;([mnst])/'\1/mg"

  • Comment on Re: Adding characters to the beginning of a file