Hello,

(1) I can not reproduce this. What is your exact version of "file"
according to dpkg? Mine is 5.11-2+deb7u2  (my Debian is wheezy).

$ cat test
#!/usr/bin/perl -w
print "Hello World\n";
$ file test
test: Perl script, ASCII text executable

(2) Could it be something specific in your script? Try deleting parts of
the script (in a copy, of course) and see if "file" starts detecting
correctly after some specific part of the script is gone.

If you can show what exactly causes it, you may file a bug against
"file" in Debian BTS.

Toomas

On Fri, 2014-03-21 at 12:06 +0100, René Bleisch wrote:
> Hi,
> Apparently, something went amiss with the linux "file" command since
> it was last updated in apt... (last week or so)

Antwort per Email an