On Tue, 22 Jan 2008 16:36:28 PST Richard L. Hamilton wrote:
> Did I miss seeing mention of an /etc/magic entry for compiled ksh scripts, or
> has that already been done? (or has it been forgotten?)
> Perhaps desktop typing engines (CDE, GNOME, maybe whatever KDE uses and
> whatever might
> typically be used as a file manager along with Xfce) should know about this
> too, if only to be able to
> recognize it as something executable but _not_ editable.
> Maybe there are some other typing engines that need to know too (is there a
> list of these damn
> things somewhere?).
one more to add to the list, hitchhiking with ksh93 into opensolaris via libast
http://www.research.att.com/~gsf/man/man3/magic.html
among its many uses is the ast find(1) ``-mime pattern'' predicate
-- Glenn Fowler -- AT&T Research, Florham Park NJ --