in reply to Removing Carriage returns from text files
? This is what I always use when d/l'ing code from the Monastery, because dos2unix (and friends) get confused when there is more than one type of EOL in the file(s). Or won't that handy perl-one-liner work in windows?perl -pi.bak -e 's/\r//' file(s)
Update: typo
| Regards... | Stefan |
| you begin bashing the string with a +42 regexp of confusion | |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Removing Carriage returns from text files
by helgi (Hermit) on Oct 18, 2001 at 18:26 UTC | |
by demerphq (Chancellor) on Oct 18, 2001 at 21:47 UTC |