bug-bash
[Top][All Lists]
Advanced

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

help function mention how to list


From: Dan Jacobson
Subject: help function mention how to list
Date: 20 Oct 2001 04:29:10 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

$ help alias
alias: alias [-p] [name[=value] ... ]
    `alias' with no arguments or with the -p option prints the list
    of aliases...
$ help function
function: function NAME { COMMANDS ; } or NAME () { COMMANDS ; }
    Create a simple command invoked by NAME which runs COMMANDS...

How asymmetrical that
$ function
by itself doesn't print out a list of current functions.  OK, at least
"help function" should mention how to see current functions.
Just add
       Function  names  and definitions may be listed with the -f
       option to the declare or typeset builtin commands.  The -F
       option  to declare or typeset will list the function names
       only.

Say, there is also no parallel command to show aliases without their
definitions...
-- 
http://www.geocities.com/jidanni Tel+886-4-25854780



reply via email to

[Prev in Thread] Current Thread [Next in Thread]