tags 863488 moreinfo unreproducible thanks Ben Hildred wrote...
> A recent upgrade has rendered file just about usless as it is only able to
> identify text in the most limited sense.
Works for me:
> for example:
> $ file /usr/bin/file
> /etc/magic, 4: Warning: using regular magic file `/usr/share/misc/magic'
> /usr/bin/file: data
/usr/bin/file: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV),
dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32,
BuildID[sha1]=2f833ab1ff58c9e0ae5801481a0dff1da286f30b, stripped
(see the release notes why it's not "executable" any longer)
> or:
> $ file /usr/share/doc/file/*
> /etc/magic, 4: Warning: using regular magic file `/usr/share/misc/magic'
> /usr/share/doc/file/changelog.Debian.gz: data
> /usr/share/doc/file/changelog.gz: data
> /usr/share/doc/file/copyright: ASCII text
> /usr/share/doc/file/README.Debian: ASCII text
> /usr/share/doc/file/README.gz: data
Results in the expected output.
What is in /usr/share/misc/magic, and where did the file(s) come
from?
Christoph
signature.asc
Description: Digital signature

