tmag

What:tmag - Tcl's libmagic interface
Repository:http://github.com/makr/tmag
Description:Provides two commands to identify a file's content or the content of a binary buffer either with a human readable description or by a mime type. It is much faster than the pure-Tcl implementation fumagic (fileutil::magic) in tcllib.
Version:0.5.1
Updated:2012-07-14
Contact:MAKR

MAKR 2008-12-08: I wrote this extension as a finger flexing exercise. It basically provides the functionality of the Unix' file(1) command [L1 ] [L2 ].