摘要: #!/bin/bashfunc(){echo "$1"}echo "fist call to function: no arg passed."echo "see if command-line arg is seen."funcechoecho "second call to function: command-line arg passed explicitly."func $1exit 0#... 阅读全文
posted @ 2010-05-18 10:52 waynechen 阅读(364) 评论(0) 推荐(0) 编辑