$BASH_COMPAT  –  Shell Compatibility Level

$BASH_COMPAT controls the shell’s compatibility level.

Examples

Declare compatibility with Bash 4.3
1
2
BASH_COMPAT=43
declare -a foo='(1 2)'
BashSupport Pro 是一个 支持 $BASH_COMPAT 的 Bash 集成开发工具 – 马上试用
© 2020–2026 Joachim Ansorg
声明
隐私政策
许可条款