标签:
#! /usr/bin/ksh
count=$# //总共输入参数
cmd="echo"
while [[ $count -gt 0 ]]
do
cmd="$cmd \$$count "
count=`expr $count - 1`
done
eval $cmd
shell将输入的参数逆序
原文地址:http://www.cnblogs.com/Berryxiong/p/4809594.html