|
|
1.1 root 1:
2:
3: shift Command shift
4:
5:
6:
7:
8: Shift positional parameters
9:
10: shift
11:
12: Commands to the shell sh can be stored in a file, or script.
13: Positional parameters pass command line information to a script,
14: as described in the article on sh.
15:
16: shift changes the values of positional parameters. The old
17: parameter values $22, $33, ... become the new parameter values $11,
18: $22 .... shift also reduces the value of $#, which gives the num-
19: ber of positional parameters, by one.
20:
21: The shell executes shift directly.
22:
23: ***** See Also *****
24:
25: commands, sh
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.