$BASH_COMPAT
–
Shell Compatibility Level
$BASH_COMPAT
controls the shell’s compatibility level.
Links
Examples
- Declare compatibility with Bash 4.3
1 2
BASH_COMPAT=43 declare -a foo='(1 2)'
BashSupport Pro 是一个 支持 $BASH_COMPAT 的 Bash 集成开发工具 – 马上试用!