in reply to Removing Windows newlines

Always nasty, them windows newlines

I always use a simple bash script to take care of this problem. It's not pretty, but it works for me.

usage: oldfile.txt >newfile.txt

#!/bin/bash cat $1 | tr -d "\015"

Sure there's more than one way, but one just needs one anyway - Teabag