From: Dick Davies Date: 2004-06-10T18:34:49+09:00 Subject: Re: strip DOS ^Ms? * Kaspar Schiess [0650 09:50]: > -----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 ? As far as I'm concerned you can have any line terminator you like in the privacy of your own filesystem, but when you transfer a file to me, I'd like it in a useful format. The server in question is the one that returns no output without a valid user-agent, remember, and these ^Ms are in the middle of lines. We're not talking DOS end-of-lines here. -- If you are a fatalist, what can you do about it? -- Ann Edwards-Duff Rasputin :: Jack of All Trades - Master of Nuns