摘要: 在shell工具中,有专门的getopt函数,使用方法如下所示:while getopts "d:t:vh" opt; do case "${opt}" in "d") DATE="${OPTARG}" ;; "t") ID="$... 阅读全文
posted @ 2014-07-26 16:02 clamaa 阅读(1298) 评论(2) 推荐(1) 编辑