2015年9月23日

使用getopts命令解析shell脚本的命令行选项

摘要: 转自:http://yejinxin.github.io/parse-shell-options-with-getopts-command/标准的Unix命令一般都提供很多选项,使用者通过命令行提供具体的选项和参数,格式如下:command -options parameters filenameg... 阅读全文

posted @ 2015-09-23 11:31 月未央 阅读(387) 评论(0) 推荐(0)

导航