bash中getopt的使用简单示例

方法一:使用getopt

可以达到的效果:

(2)方法二:使用正则表达式

也可以使用正则表达式

(1)

扫描二维码关注公众号,回复: 1422699 查看本文章

(2)

猜你喜欢

转载自wuliangxx.iteye.com/blog/750940