Bug 249578 - Weird output from "file -i"
Summary: Weird output from "file -i"
Alias: None
Product: Fedora
Classification: Fedora
Component: file
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Martin Bacovsky
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-07-25 15:52 UTC by Stepan Kasal
Modified: 2009-06-04 01:22 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2007-08-20 14:08:17 UTC

Attachments (Terms of Use)

Description Stepan Kasal 2007-07-25 15:52:03 UTC
$ 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.


Comment 1 Martin Bacovsky 2007-08-20 14:08:17 UTC
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).

Comment 2 Tyler Bannister 2009-06-04 01:22:53 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.