用awkecho a b c d | awk '{print $4,$3,$2,$1}'
#!/bin/bashecho "$@" | awk '{ for(i=NF;i>1;i--) printf("%s ", $i) print $1}'
echo $5 $4 $3 $2 $1