broken /usr/bin/file behaviour

Peter Bonivart peter at UCGBOOK.COM
Thu Nov 24 18:49:55 GMT 2005

    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Greg Matthews wrote:
> Whoever wrote libmagic seems to be a fan of the BBC comedy "Are you
> being served?"
> create an ascii file that begins:
> I'm free
> and then run /usr/bin/file against it. It is reported as:
> Apple QuickTime movie file (free)

Works fine in Solaris:

root at kleenex[root]# more texttest
I'm free
root at kleenex[root]# file texttest
texttest:       ascii text
root at kleenex[root]# uname -a
SunOS kleenex 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-V210

/Peter Bonivart

--Unix lovers do it in the Sun

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list