emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C file recoginzed as image file


From: Stefan Monnier
Subject: Re: C file recoginzed as image file
Date: Mon, 08 Jan 2007 18:32:49 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

> And let's not forget that a file with a .c extension containing a GIF
> image is absolutely, non-ambiguously a GIF, whatever the .c may seem
> to imply.

Actually that's not true.  The nature of a file in Unix is neither
determined by its name nor by its content but by what you do with it.
If you pass it to `display', it's a GIF image; if you pass it to `cc' it's
a C program; if you pass it to `hexl' it's a byte-stream; if you pass it to
`more' it's a text file.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]