if [[ "$1" != "" ]]; then dr="${1/%\//}" fi
在上面的代码中, "${1/%\//}"扩展为什么?
"${1/%\//}"
bash shell-script
bash ×1
shell-script ×1