Removing ^M

Michael Kelly mkelly2002 at adelphia.net
Sat Jun 8 19:23:30 CEST 2002


Michael Kelly wrote:

> If you're on a unix flavor this works pretty well
> 
> tr -d '\015' <infile >outfile

Whoops!  Should just be
tr -d '015' <infile >outfile

No need for the backslash.

-- 

"Only choice is an oxymoron."




More information about the Python-list mailing list