On Friday 06 September 2002 01:16 pm, Blake is done writ:
> I'm running into problems with sharing text files between macs and my 
> linux machine.  The problem seems to be that on linux my text files have 
> end of lines (\n) and on the mac text files have something else (shown as 
> '^M' when I look at it in Linux).  Maybe there are other problems too, but 
> this seems to be one.  Anyone run into this before and found a solution?

If you're ftp'ing them, use ascii transfer. Sounds like Macs use the same as 
WinDoze - a cr-lf for end of line, while linux, like all Unices, uses *only* 
the cr.

If nothing else, pull the thing into vi, and :1,$s/<ctrl-v><ctrl-m>//
and save.

        mark
-- 
If wealth == power and if power corrupts, and absolute power 
corrupts absolutely, what is the effect of monopolies and 
billionaires on democracy?
   - (c) mark roth, 2002



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to