shell学习教程获取命令行参数示例 复制代码 代码如下: ! bin bashwhile getopts a:bc optdocase $opt ina)echo "aaa "echo $OPTARGb)ec Linux Shell 2022-04-03 188 点赞 2 评论 284 浏览