From: Christopher Sawtell Date: 2001-12-15T15:34:30+09:00 Subject: [ruby-talk:28602] Re: help with ^M (line endings ) removing On Saturday 15 December 2001 18:50, you wrote: > Christopher Sawtell wrote: > > On Saturday 15 December 2001 12:23, Dinakar Desai wrote: > > > > cat windows_file.txt | tr -d "\015" > unix_file.txt > > > > Is the traditional unix one-liner for this. > > YAUUOC - yet another useless use of cat :-) That is the noise it made when I trod on its tail by mistake. And what I said when it sunk its claws into me is unprintable in these polite surroundings. You are correct of course. Sincerely etc. Christopher Sawtell