typeset
typeset -fgets all function names in a shell script; useful for split packages but is not supported bydashdeclare -Fis a bashism- Rely on
contents-minimalinstead
typeset -f gets all function names in a shell script; useful for split packages but is not supported by dashdeclare -F is a bashismcontents-minimal instead