Bash has dynamic scope with its local variables.
The standard POSIX language has only global variables: one pervasive scope.
Bash has dynamic scope with its local variables.
The standard POSIX language has only global variables: one pervasive scope.