Sometimes I need to read log files that have ^M (control-M) in the line endings. I can do a global replace to get rid of them, but then something more is logged to the log
what about using dos2unix, unix2dos (now tofrodos)?