`file --mime` outputs extraneous info when run on ELFs
Christos Zoulas
christos at zoulas.com
Thu Feb 14 22:23:07 EET 2008
On Feb 14, 2:34pm, vapier at gentoo.org (Mike Frysinger) wrote:
-- Subject: `file --mime` outputs extraneous info when run on ELFs
| normally the --mime option outputs just the mime type and nothing else, but
| when it is run on an ELF, we get a lot of extra junk in there:
|
| $ file --mime /bin/bash
| /bin/bash: application/x-executable, for GNU/Linux 2.6.9, dynamically linked
| (uses shared libs), stripped
|
| clearly we dont want anything after "application/x-executable" :)
| mike
fixed,
christos
More information about the File
mailing list