2 # func -- print out definitions for functions named by arguments
4 # usage: func name [name ...]
12 if [ $# -eq 0 ] ; then
13 echo "usage: func name [name...]" 1>&2
19 if [ "$(builtin type -type $f)" != "function" ] ; then
20 echo "func: $f: not a function" 1>&2
24 builtin type $f | sed 1d