File is a utility that classifies arbitrary files of any type mainly by their contents. It is considered standard on most Unix distributions. It can output either human-readable concise descriptions or MIME types for machine handling.
|Operating Systems||POSIX Unix Linux|
Release Notes: Bugfixes and magic improvements were made. Replacement functions for strcasestr() and fmtcheck() were added for systems missing them. A "-E" option was added to exit on filesystem errors. A "--apple" option that outputs the file type and creator code as used by older MacOS versions was added. A "clear" keyword was added to the magic syntax, and the behavior of "default" was changed to make it more useful. Sane handling of empty and one byte files was improved.
Release Notes: Bug fixes and magic improvements were made.
Release Notes: Various minor bugfixes and enhancements were made.
Release Notes: This release adds various magic additions and updates and minor bugfixes.
Release Notes: Differentiation of text and binary files has been improved. Hardwired token finding has been transformed into soft magic. Magic priorities have been adjusted, and magic has been added and improved. Minor bugs have been fixed.