Commit | Line | Data |
---|---|---|
38f80fd7 BJ |
1 | .SH |
2 | Appendix \- Special characters | |
3 | .LP | |
4 | The following table lists the special characters of | |
5 | .I csh | |
6 | and the \s-2UNIX\s0 system, giving for each the section(s) in which it | |
7 | is discussed. | |
8 | A number of these characters also have special meaning in expressions. | |
9 | See the | |
10 | .I csh | |
11 | manual section | |
12 | for a complete list. | |
13 | .LP | |
14 | Syntactic metacharacters | |
15 | .DS | |
16 | ; 2.4 separates commands to be executed sequentially | |
17 | | 1.5 separates commands in a pipeline | |
18 | ( ) 2.2,3.6 brackets expressions and variable values | |
19 | & 2.5 follows commands to be executed without waiting for completion | |
20 | .DE | |
21 | .LP | |
22 | Filename metacharacters | |
23 | .DS | |
24 | / 1.6 separates components of a file's pathname | |
25 | \. 1.6 separates root parts of a file name from extensions | |
26 | ? 1.6 expansion character matching any single character | |
27 | * 1.6 expansion character matching any sequence of characters | |
28 | [ ] 1.6 expansion sequence matching any single character from a set | |
29 | ~ 1.6 used at the beginning of a filename to indicate home directories | |
30 | { } 4.2 used to specify groups of arguments with common parts | |
31 | .DE | |
32 | .LP | |
33 | Quotation metacharacters | |
34 | .DS | |
35 | \e 1.7 prevents meta-meaning of following single character | |
36 | \' 1.7 prevents meta-meaning of a group of characters | |
37 | " 4.3 like \', but allows variable and command expansion | |
38 | .DE | |
39 | .LP | |
40 | Input/output metacharacters | |
41 | .DS | |
42 | < 1.3 indicates redirected input | |
43 | > 1.5 indicates redirected output | |
44 | .DE | |
45 | .LP | |
46 | Expansion/substitution metacharacters | |
47 | .DS | |
48 | $ 3.4 indicates variable substitution | |
49 | ! 2.3 indicates history substitution | |
50 | : 3.6 precedes substitution modifiers | |
51 | \(ua 2.3 used in special forms of history substitution | |
52 | \` 4.3 indicates command substitution | |
53 | .DE | |
54 | .LP | |
55 | Other metacharacters | |
56 | .DS | |
57 | # 1.3,3.6 begins scratch file names; indicates shell comments | |
58 | \- 1.2 prefixes option (flag) arguments to commands | |
59 | .DE | |
60 | .bp |