shell shift 用法

2015-12-10 0 281
shell shift 用法
#!/bin/sh
while [ $# -gt 0 ]
do
    echo $1
    echo $#
    if [ ! -d $1 ]
    then
        echo "$1 not dir"
    fi
    shift
done

遇见资源网 shell shell shift 用法 http://www.ox520.com/17313.html

上一篇: cal扩展练习
下一篇: la&nmp
常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务