Bash - Scope

> Procedural Languages > Bash Shell and (Unix|Linux) Utilities (XCU)

Table of Contents

1 - About

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).

Advertising