我需要编写一个 shell 脚本来处理 3 个参数($1 $2 和 $3)。在 bash 中,我必须跳过参数 2(我实际上正在编写类似 ./script.sh para1 para3 的内容)。
脚本没问题。但我不能跳过第二个参数。我怎么跳过这个?
linux bash shell
bash ×1
linux ×1
shell ×1