我是bash脚本的新手,我需要你的支持才能解决这个问题.我有一个bash脚本"start.sh".我想编写一个带有两个参数的脚本,以便我可以按以下方式运行脚本
./start.sh -dayoffset 1 -processMode为true
dayoffset和processMode是我必须编写脚本的两个参数.
dayoffset = 1是报告日期(今天)processMode = true或false
unix linux bash shell
bash ×1
linux ×1
shell ×1
unix ×1