Shift positional arguments (e.g.,
$2
becomes
$1
).
If
n
is given, shift to the left
n
places.
Used in
while
loops to iterate through command-line arguments.
In the Korn shell,
n
can be an integer expression.