Re: Compressed html archive(chm and tgz)



In comp.os.linux.misc, on Wed 15 February 2006 19:51, Douglas O'Neal
<oneal@xxxxxxxxxxxx> wrote:

Robert Hull wrote:
In comp.os.linux.misc, on Wed 15 February 2006 02:49, Dances With
Crows <danSPANceswitTRAPhcrows@xxxxxxxxx> wrote:


On Tue, 14 Feb 2006 22:48:21 +0000, Robert Hull staggered into the
Black Sun and said:

<snip>

What a file is or contains has nothing to do with the last three
characters of its name - that is a myth created by Mircosoft

samantha:~$ cat > hello.d
[snip]


And what, precisely did .d define about your file?


Nothing. However, gcc expects C source code to have an extension of
.c

Which is a world away from .c defining what is contained in the file.

If I save this article and call it Compressed_html_archive.c is it your
contention that this would magically transform it into c language
source-code? I very much doubt that it would, yet you are arguing
*against* my contention that the last few characters of a file name
necessarily define its contents.

The OP wants to invent new "extensions" for compressed HTML pages such
that an HTML page compressed with tar and gzip would cease to
be .tar.gz or .tgz and would become .tgh, but then the browser would
(in the words that you snipped) treat it the same as .tgz

He seems to be labouring under the illusion - which nothing you have
said serves to confirm or deny, that changing the "extension" of the
file would magically make it more manageable.

Numerous applications make a "best guess" based on the last part of a
file name, but then the better written ones also take account of the
file properties.

--
Robert HULL If it's there and you can see it - it's real
If it's there and you can't see it - it's transparent
If it's not there and you can see it - it's virtual
If it's not there and you can't see it - it's gone!
.



Relevant Pages

  • Re: Getting MSW to convert txt to doc in vba
    ... >then I assign textfilename as the filename. ... >up having a .txt extension. ... Is there a way to get the filename without the ... The LCase function converts the filename to all lowercase characters, ...
    (microsoft.public.word.vba.customization)
  • Re: What is the maximum number of characters you can use to name a fil
    ... PowerPoint 2002: The total length of both the path and the file name, including file name extension, cannot exceed 256 characters. ... This limitation includes three characters that represent the drive, the characters in the folder names, the backslash character between folders, and the characters in the file name. ...
    (microsoft.public.word.docmanagement)
  • Re: How do I convert a JPEG file back to text?
    ... > characters that your text editor is interpreting the binary data as. ... > switch, like a light switch. ... This is done via the file extension. ... So, you could give it a .jpg extension, and try ...
    (microsoft.public.frontpage.programming)
  • Re: find syntax
    ... >> a) what's the recommended solution to trimming off characters in a ... > hack saves shell invocations and writing filters, but, you know, its ... > but also because of standards conformance and Stuff. ... It's an extension and doesn't impede functionality, ...
    (comp.unix.bsd.freebsd.misc)