HomeLangBashScope
Table of Contents
scope in Bash
Scope is dynamic.
Functions see the locals of their callers but can't access a caller's positional parameters (except through BASH_ARGV if extdebug is enabled).