我对在 shell 脚本中找到的以下正则表达式感到非常困惑:
${0##*/} ${0%/*}
它们是如何工作的?
shell bash parameter wildcards
bash ×1
parameter ×1
shell ×1
wildcards ×1