Shift positional parameters.

Synopsis

shift [N]

Description

Shift the positional parameters to the left by N positions (default 1). $1 becomes what was $2, etc. Runs in the just-bash WASM shell inside SLICC.

Examples

$ shift

Shift parameters by one.

$ shift 2

Shift parameters by two.

See Also

set, getopts