You prolly want more than just to change the 0D's.. you want a full CRLF
(0x0D 0x0A, 13 10, etc).
Did you try reading it via regular netscape, like the web browser portion
(and not just the page source)? If the browser itself will show it
correctly, then try saving the page as something.
How were you sent the HTML file? Via Email? FTP?
if it was FTP, then the wrong mode might have been used to xfer it. One
must always remember that UNIX handles everything as binary data...
programmers know what I'm trying to say, here. DOS has a similar problem
with file transfers between itself and UNIX.
etc etc. My two cents.
On Mon, 18 Dec 2000, Bret Hughes wrote:
> I was sent an html file that has no newlines in anything that I can find
> on my box. I have tried vi gnotepad gedit ghex. Netscape view->page
> source renders it correctly. vi shows a bunch of ^M where the newlin
> should be so I tried:
>
>:%s/ctrl-vctrl-M/\n/g to no avail. I am afraid this is the extent of my
> vi skills. ghex shows the offending char as 0D. How can I convert this
> file to some thing I can read and edit?
>
> The server it lives on is a MAC if this makes any different. What does
> a MAC use for newlines?
>
> Bret
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
--
-Statux
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list