On Wed, 14 Mar 2007 23:47:47 +0100 Roland Mainz wrote:
> Peter Memishian wrote:
> > But I see no reason to drag libast's
> > magic.tab into ON just for such a purpose.

> Ok (note that we may get that file back if we include something like
> AST's version of the "file" utility (not planned yet, don't worry... :-)
> )) ...

along with magic.tab, which is extended to handle mime type/subtype 
and file name matching (for dos style punting), is an ast magic(3)
interface, used by ast find and tw for "-magic pattern" and
"-mime type-pattern/subtype-pattern"

for instance
        find /bin -mime '*/exe'
to weed out a.out's from other executables

-- Glenn Fowler -- AT&T Research, Florham Park NJ --

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to