$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 5
a() { b; } b() { echo b; } FUNCNEST=1 # Breaks with an error when it calls b a
BashSupport Pro 是一个 支持 $FUNCNEST 的 Bash 集成开发工具 – 马上试用!