File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / shift
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



shift                        Command                        shift




Shift positional parameters

shift

Commands to  the shell  sh can  be stored in  a file,  or script.
Positional parameters pass  command line information to a script,
as described in the article on sh.

shift  changes  the values  of  positional  parameters.  The  old
parameter values $22, $33, ...  become the new parameter values $11,
$22 ....  shift also reduces the value of $#, which gives the num-
ber of positional parameters, by one.

The shell executes shift directly.

***** See Also *****

commands, sh






































COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.