Vidiot wrote:

> >The server it lives on is a MAC if this makes any different.  What does
> >a MAC use for newlines?
> >Bret
>
> Unix = LF
> Windoze = CR/LF
> Mac = CR
>
> Unfortunately the Mac is the worst OS for what it uses for a newline character.
> Tell the person that sent you the file to use a real server that gets it
> right:-)
>
> You need to change the ^M characters to ^J characters.

Thanks:|
I tried setting ff=mac and it did indeed chang the characters displayed in gvim to
^J but still did not act like a newline.  I was able to use ghex to find/replace
0D with 0A and that worked ok.  The guy I am working with is on a university
campus and this is all he has to work with in the server dept.  For what it is
worth he hates it.

is there any command line magic I can use to do a global replace on the hex byte=
0D with hex 0A?

Still searching.

Bret



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to