file thinks golang source files (*.go) are text/x-java types
Bug #912791 reported by
fedesog
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
file (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
calling "file -i" on a go source files that contains the "import" keywork (basically any go source) tricks the command into thinking that the file is a java source file:
example:
$file -i anygosource.go
anygosource.go: text/x-java;
while file should return
anygosource.go: text/x-go;
file version: 5.04
To post a comment you must log in.