摘要: #!/bin/bashE_PARAM_ERR=198EQUAL=199max2(){if [ -z "$2" ]thenreturn $E_PARAM_ERRfiif [ "$1" -eq "$2" ]thenreturn $EQUALelseif [ "$1" -gt "$2" ]thenreturn $1elsereturn $2fifi}echo "the first number:"rea... 阅读全文
posted @ 2010-05-18 14:09 waynechen 阅读(7170) 评论(0) 推荐(1) 编辑