On Wed, 28 Apr 1999, Shane Kerr wrote: > > Basically need a prg that strips the ^M and other MS crap from txt files > > You don't need a special program for this. Try: > perl -pe 's/\r$//' < input > output > > Perl is fun! Whee!!! And slow. tr -d '\r' <input >output Is what I use (though granted, it doesn't do exactly the same as the above). Matthew.
- need a prg like dos2unix linux
- Re: need a prg like dos2unix Shane Kerr
- OFF-TOPIC Re: need a prg like dos2unix Matthew Kirkwood
- OFF-TOPIC Re: need a prg like dos2unix Shane Kerr
- Re: OFF-TOPIC Re: need a prg like dos2un... Brian D Chase
- Re: need a prg like dos2unix Jonathan Hall
- Re: need a prg like dos2unix Manager
- RE: need a prg like dos2unix Molenda, Mark P
- RE: need a prg like dos2unix Klas Axelsson
- RE: need a prg like dos2unix Manager
