From: Samuel Kvarnbrink Date: 2004-06-10T18:58:43+09:00 Subject: Re: strip DOS ^Ms? Kaspar Schiess wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > | I generally strip DOS idiocy on the command line with: > | > | tr -d '\r' < in > out > > Why would a thing grown from history be called idiocy in any context ? > It just is that way. If we change that, we would to have agree on one > line ending for everyone. Doesn't Mac have the same issues but the other > way round ? In the days of the "classic" Mac OS (9.x and earlier) that was true; \r was the default line ending. But that changed during the migration to OS X, so (with the possible exception of old, badly ported Carbon apps) it's not an issue anymore. //samuel