[Techtalk] get rid of "^M" in a file

Mary mary-linuxchix at puzzling.org
Thu Jun 16 10:11:30 EST 2005


On Thu, Jun 16, 2005, Noir wrote:
> I want to get rid of all the "^M". I can hand-hack it but that sound
> inefficient. I wanted to use "flip -u" but the OS I am currently in
> doesn't have that.
> 
> Is there anything else I can use to get rid of that?

It would help a bit if you specified "the OS I am currently in" but I'll
assume it's Linux ;)

dos2unix should do it.

-Mary


More information about the Techtalk mailing list