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

Re: Was: Unix(LF) files to MSDOS(CRLF) and vice versa



Kerstin Hoef-Emden <Kerstin.Hoef-Emden@Uni-Koeln.DE> writes:
> Are similar tools to flip and dos2unix available for converting
> Mac-ASCII texts?

perl works well.

perl -i -pe 's/\r/\n/g' [filename...]

the -i means to edit the files in place. See perl --help for more
information on it.

Elizabeth


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: