奇怪的 bash 错误:“导入‘BASH_FUNC_module’函数定义时出错”
示例脚本: #!/usr/bin/env bash echo "abc" Bash 版本 4.1.2(1)-release 的输出: $ ./a.bash bash: BASH_FUNC_module(): line 0: syntax error near unexpected token `)' bash: BASH_FUNC_module(): line 0: `BASH_FUNC_module() () { eval `/usr/bin/modulecmd bash $*`' bash: error importing function defi...