View Single Post
  #43  
Old December 14th 17, 05:46 PM posted to comp.sys.mac.apps,alt.windows7.general,comp.sys.mac.system
Mayayana
external usenet poster
 
Posts: 6,438
Default Can a Macintosh person tell us how to change the name of a file?

"Wolf K" wrote

| And, since you like to quibble: is the MIME header part of a post or
| not? I would quibble that it is, since it has to be included with the
| post so that the client can display the contents properly.
|

You should know that nospam is a compulsive
arguer who regularly carries on bickering matches
that go into hundreds of posts. If you answer,
he *will* argue. He's also very adept at the
appearance of knowledge, using generalities and
undefined declarations ("not so", "nonsense", etc)
to appear to be discussing a topic expertly.

Your statement makes an interesting point, though:
For text-based file types there's usually no distinction
between content and header. There's no place to store
metadata. With "binary" types, the header defines,
describes, or adds to the data. For text-based files
the header is part of the data. HTML and EML are
two good examples. Both are limited to text content
and both have a header that is also part of the content.
Neither contains a file type ID. One could claim that
the HTML or DOCTYPE tags are an ID, but they're
actually part of the HTML. And DOCTYPE is optional.

Interestingly, if I write a file like so, as valid HTML....

HTML
HEAD
STYLE * {font-family: verdana; font-size: 4px;}
/STYLE
/HEAD
body
this is text
/BODY
/HTML

....IE doesn't recognize it without a file extension and
renders the whole thing as plain text. Yet Firefox and
Pale Moon will both treat it as HTML if the file only
contains...

STYLE * {font-family: verdana; font-size: 4px;}
/STYLE
this is text

.... and still has no file extension.


Ads