in reply to Prepending characters to lines in file
perl -i.bak -pe 's/$_/> $_/' filename
You don't really need to match the line itself; just matching the beginning of the line works fine:
perl -pi.bak -e 's/^/> /' filename
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (503 votes). Check out past polls.