COHERENT manpages

This page displays the COHERENT manpage for shift [Shift positional parameters].

List of available manpages
Index


shift -- Command

Shift positional parameters
shift

Commands  to the  shell can  be  stored in  a file,  or script.  Positional
parameters pass command-line variables to a script.

shift  changes the  values  of positional  parameters.   The old  parameter
values $2, $3, ...  become the new parameter values $1, $2 ....  shift also
reduces the  value of $#, which gives the  number of positional parameters,
by one.

The shell executes shift directly.

See Also

commands,
ksh,
sh