Subject: Re: lpwrapper
To: None <tech-userlevel@netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
List: tech-userlevel
Date: 03/20/2003 11:19:27
>...
>we *already* grovel file contents for things like file(1)... do
>you disapprove of that? Can you show an example of when CUPS got
>...

that's kind of a red herring, isn't it?  after all, file(1) is
*defined* to look inside the (regular and non-empty) file to intuit
the type.  lpr (et al), on the other hand, is defined to print things.

if anything, something that wants to intuit a file's type should ask
file.  or the mythic libmagic.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
werdna@squooshy.com       * "information is power -- share the wealth."