[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: whatis



    From:	Scott Schwartz <schwartz@groucho.cs.psu.edu>
    Date:	Sat, 17 Oct 1992 10:21:58 +1000
    To:	Donn Cave <donn@u.washington.edu>
    cc:	es@hawkwind.utcs.toronto.edu
    Subject: Re: whatis 
    Received: from ugw.utcs.utoronto.ca ([128.100.102.3]) by quux.es.su.oz.au with SMTP id <14662>; Sat, 17 Oct 1992 10:23:50 +1000
    Received: from hawkwind.utcs.toronto.edu ([128.100.102.51]) by ugw.utcs.utoronto.ca with SMTP id <9169>; Fri, 16 Oct 1992 20:23:23 -0400
    Received: from groucho.cs.psu.edu ([130.203.2.10]) by hawkwind.utcs.toronto.edu with SMTP id <2770>; Fri, 16 Oct 1992 20:22:50 -0400
    Received: from localhost by groucho.cs.psu.edu with SMTP id <2619>; Fri, 16 Oct 1992 20:22:17 -0400
    In-reply-to: Your message of "Fri, 16 Oct 92 19:40:42 EDT."
                 <9210162340.AA14131@carson.u.washington.edu> 
    Message-Id: <92Oct16.202217edt.2619@groucho.cs.psu.edu>


    | While I'm complaining:
    | I miss the rc "whatis", that dumps out variables with needed quotes.

    Whatis does too much work, since it also tells you about executables
    found with path lookup.  If whatis makes it into es, it really needs to
    have options to select what kind of thing to talk about!  In scheme,
    "read" and "write" deal in standard external representations, while
    "display" works like echo.

i think `whatis' should be part of es with at lease the functionality
of `whatis' in the v8 bourne shell (a superset of which is provided by
`whatis' in rc).

don't forget why rob pike added `whatis' to the bourne shell in the
first place - to get ouput from the shell that could be re-read _by_
the shell. this was done in the knowledge that that shell was going to
be used in a windowing environment, viz. `mux', where this feature
proved extremely useful; the same arguments apply for X11.