On 2/8/20 6:29 PM, Rob Pike wrote:
% rc
% whatis cd
builtin cd
%
It's much simpler this way. The output is the executable input, free of
decoration and ready to use.
OK. `whatis' is a non-starter as a builtin, but bash ships with an example
`whatis' shell function that does this.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet(a)case.edu
http://tiswww.cwru.edu/~chet/