* Paul Wise <p...@debian.org>, 2015-09-06, 14:17:
I find file(1) unreliable for programming languages.
That seems to be the case indeed, we'll need to find something else.
All the false positives in my Python dir are without shebang though.
file(1) doesn't seem to pay attention to shebangs, as far as Python is
concerned. It classified all Python scripts in my /usr/bin/ as
text/plain.
Maybe just run the syntax check of the interpreters themselves on each
file and invert the results?
I don't follow...
--
Jakub Wilk