perl -i.bak -pe 'substr($_,0,0) = "> "' file