perl -i.bak -pe 's/$_/> $_/' filename [download]
In reply to Re: Prepending characters to lines in file by wardk in thread Prepending characters to lines in file by Anonymous Monk