Hi,

On Mon, Jan 21, 2013 at 12:03:29AM +0900, Osamu Aoki wrote:
> How can these clearly perl scripts marked as "C++ source, ASCII text"?

I second that with AWK false positives:

$ cat test.pl 
#!/usr/bin/perl -w

BEGIN { print "hai" }
$ file test.pl
test.pl: awk script, ASCII text
$ head -1 test.pl | file -
/dev/stdin: a /usr/bin/perl -w script, ASCII text executable
$

I have attached the gzip'd output of file -d test.pl.

Sebastian

Attachment: test.pl.debug.gz
Description: application/gzip

Attachment: signature.asc
Description: Digital signature

Reply via email to