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

In reply to Re: Removing Windows newlines by teabag
in thread Removing Windows newlines by Anonymous Monk

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":