I know! We need dynamically loadable shared object files and a new
language to describe all the things that file can do, and then a
compiler for that language that generates shared objects that are
dynamically loaded at runtime
Oh, wait.
But seriously (yes, Virginia, for the humor impaired,
On 2008-Jul-6, at 14:59 , Brantley Coile wrote:
I remember the day I first saw a file magic file. I welcomed it
because for the first time I didn't have access to the source code.
Those were the days when you had to have $45k to get the source.
Closer to $100K for most people. I had
This is a comment/question about file(1) as implemented in Plan 9 and
p9p.
Over the years I've been using various versions of file with editable
magic files. Though file can make mistakes, this worked out rather
well when I just wanted a little more detail than 'binary' with the
This addition helped my scripts become a little more streamlined, but
of course puts in an additional entry into the source file I need to
track. As file name extensions don't always work across all sorts of
systems, many still hamstrung by 8.3, what is the preferred or
recommend
In a sense, the question is more about the historical change and/or
adoption of a new file command for Plan 9 that doesn't use a magic
file for references. Why opt out of a magic file other than the
obvious performance hit of scanning it each run? Is it worth
repeating the old forms
I remember the day I first saw a file magic file. I welcomed it because
for the first time I didn't have access to the source code. Those were
the days when you had to have $45k to get the source. A hard thing to
ask for. Today a separate magic file is just a leftover vestige of the
past.
On Sun, 06 Jul 2008 17:20:12 EDT erik quanstrom [EMAIL PROTECTED] wrote:
what is the upside to an external magic file? as you've shown, you
can add a file type in 1 line of code. while the external magic file
isn't c, i would argue that it's still code.
Yes it is code but the advantage is
The main disadvantage of gnu file is performance.
the magic file contains surprisingly many spells,
even excluding muttered incantations.