From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from postman.osf.org ([130.105.1.152]) by hawkwind.utcs.toronto.edu with SMTP id <2793>; Wed, 10 Mar 1993 16:37:29 -0500 Received: from earth.osf.org by postman.osf.org (5.64+/OSF 1.0) id AA07728; Wed, 10 Mar 93 16:36:49 -0500 Received: by earth.osf.org (5.65/4.7) id AA16597; Wed, 10 Mar 93 16:36:49 -0500 Date: Wed, 10 Mar 1993 16:36:49 -0500 From: rsalz@osf.org Message-Id: <9303102136.AA16597@earth.osf.org> To: cks@hawkwind.utcs.toronto.edu, rc@hawkwind.utcs.toronto.edu Subject: Re: Things I'd like whatis to have: here's "whatis -p", called "wh" from a standard old BBN program. fn wh { i=() { for (i in $path) { test -x $i^/^$1 && echo $i^/^$1 && return 0 } echo $1 not found >[1=2] return 1 } }