Apart from character set conversion, this is really nothing more than

perl -pi.bk -e 's/\015$//'
Except that the Perl one-liner also keeps a backup copy of your original file.

If you really need the character set conversion, GNU's recode could probably help a lot.

Log in or register to write something here or to contact authors.