perl -i -pe's/$/\r/' file file ... # unix-to-dos