I have some python modules that I wrote. Incidentally, I used file in this directory, and I was really surprised at what I saw. Here's the result of counting what he thought of files:
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
This is strange! Any idea what is happening or why it seems that python modules are very often java files?
I am using CentOS 5.2.
Change The question is more related to my curiosity about why explicitly non-java and non-C ++ program files are classified as such. Of course, I do not expect file be perfect, but I was surprised at the choices that were made. I would suggest that he would just give up and say a text file, and not draw very wrong conclusions.
source share