2011-10-01 11 views

risposta

1

Anche se questa è una vecchia domanda, c'è un altro modo per farlo. E, forse questo è quello che stai chiedendo.

for((i=3; i<=$#; i++)); do 
    echo "parameter: ${!i}" #Notice the exclamation here, not the $ dollar sign. 
done 
Problemi correlati