the problem is:
declarations="`declare -F 2>/dev/null || typeset +f 2>/dev/null`"
Dash does not have declare or typeset builtins.
Dash behaves this way whether invoked using /bin/dash or /bin/sh
It's not clear if Dash has a way to list defined shell functions at all, even as part of another list of user accessible envrionment items. Bad form, Dash-devs.
Log in to post a comment.