[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dos2unix?



*-Nuno Carvalho <nemanuel@student.dei.uc.pt>
|
| On Mon, 26 Oct 1998, Thomas Apel wrote:
| 
| > I always thought there was a package called "dos2unix" to convert dos
| > text files to unix text files. But I can't find it anywhere. Is there
| > such a package somewhere out there? And if yes, what's its name?
| 
|  Try do a script it something like:
| 
| cat <filename> | sed 's/^M//'

Or even better IMNSHO: tr -d '\r'

-- 
Eschew obfuscation    (go on; look them both up)
                                   (Brian White)
olet@ifi.uio.no   [-: .elOle. :-]   olet@debian.org


Reply to: