$BASH_SUBSHELL
–
Nesting Level of Subshells
$BASH_SUBSHELL
is the nesting level of subshell or subshell environments.
Links
Examples
- Print subshell nesting
1
echo "$BASH_SUBSHELL $(echo -n "$BASH_SUBSHELL $(echo -n $BASH_SUBSHELL)")"
BashSupport Pro 是一个 支持 $BASH_SUBSHELL 的 Bash 集成开发工具 – 马上试用!