Red Hat Bugzilla – Bug 249578
Weird output from "file -i"
Last modified: 2009-06-03 21:22:53 EDT
$ file -i foo.doc
foo.doc: application/msword application/msword
Why is the result print twice?
In other words:
The string "application/msword application/msword" is not a correct MIME type.
File was broken by one of our older patches (now partly redundant) and wrong
rule in magic. This issue should be fixed in RAWHIDE (file-4.21-3.fc8).
I am currently experiencing the same problem with some .doc files and .xls files on my Red Hat Enterprise Linux Server release 5.3 (Tikanga).
So far it seems to affect files generated by Word and Excel, but not files generated from Open Office using those formats.