shiftshift
[variable
]
If variable
is given, shift the words in a word list variable; i.e., name
Examplewhile ($#argv) While there are arguments if (-f $argv[1]) wc -l $argv[1] else echo "$argv[1] is not a regular file" endif shift Get the next argument end |
|