Re: OT: Re: MAC users?



In article <doGdnQKRov9UI_HZnZ2dnUVZ_vednZ2d@xxxxxxx>,
singhals <singhals@xxxxxxxxx> writes:
Dave Hinz wrote:

On Wed, 17 May 2006 20:34:26 -0400, singhals <singhals@xxxxxxxxx> wrote:

That missing extension is one of things I've always hated -- I tend to
keep my life simple, so I've got 1891.txt 1891.xls 1891.doc and 1891.htm
all with slightly different content and format; without the extension
how in the WORLD do I tell which one I want when I go looking for it?
Sitting here clicking first one and the t'other until I find it makes me
crazy.


Ah. Perhaps you've missed the point a bit. Unix (including Mac OSX)
doesn't particularly _care_ what extension you give it. But normally,
sure, you'll give it the right one.

*ix might not care, but I do.




*ix and, I suppose, OS-X have had for years a concept of "magic numbers" which
identify file type when a user types the command "file <filename>" at the
command line. Without going into unwanted detail about the mechanism, for most
binary files, including images, a unique magic number identifying the file type
is stored at a known offset from the beginning of the file, making it possible
to call the file anything you damn well please because the system doesn't have
to rely on a file extension for information.

More'n you ever wanted to know about *ix file naming conventions.

SysAdmin Ol' Bob

--
Robert G. Melson | Rio Grande MicroSolutions | El Paso, Texas
-----
Under democracy one party always devotes its chief energies to trying to prove that the
other party is unfit to rule---and both commonly succeed, and are right." ---H. L. Mencken
.



Relevant Pages

  • OT: JOKE....more rules
    ... First and foremost, we are not obligated to do it ... Extension to rule #1- So if you get one, ... I don't care HOW relaxed you get, it is NEVER OK to fart. ... Leaving me in bed while you go play video games immediately ...
    (alt.support.stop-smoking)
  • Re: Recruiters who place people first...
    ... A 32 bit extension to a GUI shell to a 16 bit patch to an 8 bit OS ... We don't have to care, ...
    (alt.sysadmin.recovery)
  • Re: Include file extension: ".v" vs ".vh"?
    ... Although Verilog doesn't care about the ... extension name at all I'm wondering what people in this ... Is it common to use ".vh"? ...
    (comp.lang.verilog)
  • Re: Include file extension: ".v" vs ".vh"?
    ... Although Verilog doesn't care about the ... extension name at all I'm wondering what people in this ... Is it common to use ".vh"? ...
    (comp.lang.verilog)
  • Re: About File "types" and Office 12.1 Service Pack and double-clicking
    ... in a file format that nobody is actually using. ... Remember that when you are Microsoft and you are selling to the Defence ... use your application to fire "pinball attacks" around the system. ... If the file type is blank, Word will assume the extension is correct and try ...
    (microsoft.public.mac.office.word)