在 bash shell 脚本中,我在 $@ 中收到一个参数列表,它们是: abcdace 根据参数,我需要对案例结构做一些特定的事情。但我只想为 abcde 做
我应该只使用 bash 而不是任何其他语言......我可以使用 awk 例如
for argument in "$@" do case $argument in a) .....
尝试了很多东西但没有成功
非常感谢任何帮助
bash duplicates
bash ×1
duplicates ×1