- fileutil::magic::cfront [L1 ]
- Generator core for compiler of magic(5) files
- fileutil::magic::cgen [L2 ]
- Generator core for compiler of magic(5) files
- fileutil::magic::filetype [L3 ]
- Procedures implementing file-type recognition
- fileutil::magic::mimetype [L4 ]
- Procedures implementing mime-type recognition
- fileutil::magic::rt [L5 ]
- Runtime core for file type recognition engines written in pure Tcl
[replace this comment with more details on this tcllib module]
The module and its packages are a Tcllib'ification of CMcC's mime type recognition in pure tcl.
makr (2009-11-19) notes that the manual page is currently available at: http://tcllib.sourceforge.net/doc/filetypes.html
Have a look at tmag for an extension that is using libmagic directly.