
 shift  shift positional parameters

 shift [ options ] [n]

 shift is a shell special builtin that shifts the positional parameters to the left by the number of places defined by n, or 1
if n is omitted. The number of positional parameters remaining will be reduced by the number of places that are shifted.
 If n is given, it will be evaluated as an arithmetic expression to determinate the number of places to shift. It is an error to shift
more than the number of positional parameters or a negative number of places.

 0
 The positional parameters were successfully shifted.
 >0
 An error occurred.

 set(1)

 version
 shift (AT&T Research) 19990707
 author
 David Korn <dgkorn@gmail.com>
 copyright
 Copyright © 19822010 AT&T Intellectual Property
 license
 http://www.opensource.org/licenses/cpl1.0.txt