SLUG Mailing List Archives
RE: [SLUG] Associating filenames
- To: 'Peter Rundle' <peter.rundle@xxxxxxxxxxxxxxxx>, SLUG <slug@xxxxxxxxxxx>
- Subject: RE: [SLUG] Associating filenames
- From: George Vieira <georgev@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu Oct 19 09:28:22 2000
The Apple format which was to create a filename of the same type but hidden
and had the MIME info in it... eerrr yuk!.
PGP Fingerprint : 43DC 92AC 1A82 27B2 E97B 52F1 B60F 301A 38A9 A10C
PGP KeyID: 0x38A9A10C
From: Peter Rundle [mailto:peter.rundle@xxxxxxxxxxxxxxxx]
Sent: Thursday, October 19, 2000 8:18 AM
Subject: Re: [SLUG] Associating filenames
>Is there any ability in Linux to associate filename extensions, or
>similar, with applications.
One of the things with Unix is that, unlike dos with it's 8,3 rule
the "extension" is totally arbitary. Originally there was a 14 char
limit to file names and whether you had a dot in there was entirely
up to the user. Thus the idea of typing files by their extension
was historically pretty much a foreign concept to Unix.
Currently there are at least three methods in use,
1. educated guess about file type based on content ("file" command)
2. explicit meta data in file (eg "#!/usr/bin/perl" )
3. .ext in the filename (Mime types)
All have their failings.
Are there any other methods others know of?
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug