[OT] File type on UNIX

KennyTM~ kennytm at gmail.com
Mon Sep 20 09:24:21 PDT 2010


On Sep 21, 10 00:04, "Jérôme M. Berger" wrote:
> KennyTM~ wrote:
>>>      True, but then, there is no rule that says that on windows a file
>>> manager must use the extension. However, on Windows, all the file
>>> managers I've tried have used the extension (actually, most of the
>>> time they don't use the extension themselves, they simply ask
>>> Windows to open the file and Windows uses the extension), whereas on
>>> UNIX most file managers use the file contents (usually, they don't
>>> use the file command, but instead rely on libmagic directly) and
>>> most applications will ignore the extension when asked to open a
>>> file (OK, some Windows applications do that too but on *NIX most of
>>> them do).
>>>
>>>          Jerome
>>
>> Mac OS X is UNIX. Finder cares about the file extension (besides metadata).
>
> most: You can use *most* to refer to the majority of a group of
> things or people or the largest part of something.
>
> One counter example does not invalidate my point. Especially when
> the example is invalid: MacOS X is *not* UNIX. True, the low level
> parts are UNIX-based, which makes it easy to port UNIX apps, however
> that doesn't make the whole into a UNIX. In particular, finder was
> ported from older versions of MacOS and inherits a large part of its
> behaviour from those older versions.
>
> 		Jerome

Your definition of Unix is wrong then. Unix *only* specifies the API 
(system interface and headers) and the command-line utilities. You *are* 
confusing Unix and the distro.

Ref: http://www.opengroup.org/onlinepubs/9699919799/


More information about the Digitalmars-d mailing list