typeset
typeset -f
gets all function names in a shell script; useful for split packages but is not supported bydash
declare -F
is a bashism- Rely on
contents-minimal
instead
typeset -f
gets all function names in a shell script; useful for split packages but is not supported by dash
declare -F
is a bashismcontents-minimal
instead