$FUNCNEST
–
Maximum Function Nesting
$FUNCNEST defines the maximum function nesting level if it has a value greater than 0.
Links
Examples
- Disallow function nesting
1 2 3 4 5a() { b; } b() { echo b; } FUNCNEST=1 # Breaks with an error when it calls b a
BashSupport Pro ist eine Bash IDE mit Unterstützung für $FUNCNEST – probieren Sie es aus!