Why is the "file" command get confused on .py files?
- by pythonic metaphor
I have several python modules that I've written. Randomly, I used file on this directory, and I was really surprised by what I saw. Here's the resulting count of what it thought the files were:
1 ASCII Java program text, with very long lines
1 a /bin/env python script text executable
1 a python script text executable
2 ASCII C++ program text
4 ASCII English text
18 ASCII Java program text
That's strange! Any idea what's going on or why it seems to think python modules are very often java files?
I'm using CentOS 5.2.