On Fri, 28 Jan 2000, Hans Ekbrand wrote:
haek >Hi all!
haek >
haek >Are there any program, or perl one-liner, that convert Mac ascii files
haek >(with CR only as line terminator) to Unix ascii format? I have only found
haek >the dos2unix proggie.
http://macinsearch.com/infomac/text/mac-to-unix-
[EMAIL PROTECTED] (Hans Ekbrand) wrote:
>Are there any program, or perl one-liner, that convert Mac ascii files
>(with CR only as line terminator) to Unix ascii format? I have only found
>the dos2unix proggie.
perl -pe 's/\r/\n/g'
Or, for fun:
perl -015l012pe1
:),
--
Colin Watson
Hi all!
Are there any program, or perl one-liner, that convert Mac ascii files
(with CR only as line terminator) to Unix ascii format? I have only found
the dos2unix proggie.
TIA
Hans Ekbrand
3 matches
Mail list logo