> 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.

getting closer.  In vi if I set ff=mac and save the file, when I reopen it it is
readable!  yeah!!  Now does any of you vi gurus out there know if I can use a vi
script or macro to open the file, set ff=mac and save it to the same name with no
user intervention?

I have never done this sort of thing before but seems like it might be possible
although none of my books that have a sort of intro to vi discuss it.

Any help appreciated.

Bret



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

Reply via email to