Re: converting local mac .html files -> dos .htm please help

Fletcher ([email protected])
Sat, 28 Jan 1995 19:07:48 +0100


The problem might be with the line breaks...Any Unix html creater will save
the file
with unix line breaks. These can be read by any browser---as far as I
know.

However I do most of my designing on a mac--which uses line breaks
that other platforms are not always able to digest. USe freeware called
BBEDIT, availible with custum html extensions, on most mac ftp dumps.
Under "save as" bbedit gives you the option of save with mac, unix, or
dos line breaks. Save in whichever platform you need.

I hope this helps

[email protected]

On Sat, 28 Jan 1995, Joe English wrote:

>
> [email protected] wrote:
>
> > I'm trying to find a quick way to change my local mac html files to
> > local files that can be read on a dos machine... my links wont work
> > because even if i change the file name from *.html to *.htm the links are
> > still *.html and wont locate the *.htm files....
>
> What browser are you using? I've had no problem
> browsing a web developed on Unix as local files
> under Windows.
>
> Just transferring the files to DOS automatically
> renames *.html to *.HTM, and when the browser tries
> to load "foo.html" the O/S truncates this to "FOO.HTM"
> internally. At least I *think* that's what's happening.
> Anyway, all I did was transfer the files over and it
> seemed to work...
>
> > and i'm getting a bit
> > frustrated using search and replace on all of my files are there any quick
> > utilities (either mac or pc) that do a tidy job of fixing this problem?
> > and if so (assuming its free or shareware) which ftp site publishes it?
>
> Hm... this sort of thing is pretty easy with standard
> Unix tools (sed, awk, sh), but installing Linux is
> probably overkill for this task. You might try perl,
> which has been ported to DOS and System 7. See
> <URL:http://www.cis.ufl.edu/perl/>
>
> Also check on comp.infosystems.www.* ... I think there's been
> a discsussion about this issue running for some time now.
>
> --Joe English
>
> [email protected]
>