File: POSIX

package info (click to toggle)
yash 2.60-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,152 kB
  • sloc: ansic: 34,578; makefile: 851; sh: 808; sed: 16
file content (281 lines) | stat: -rw-r--r-- 3,673 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
This document indicates which part of IEEE Std 1003.1, 2024 edition is covered
by which test file.


Volume 3: Shell & Utilities
===========================

1.1.2 Concepts Derived from the ISO C Standard
  Arithmetic Precision and Operations
    * arith-p.tst

2.2 Quoting
 * quote-p.tst
 * cmdsub-p.tst

2.3 Token Recognition
 * comment-p.tst
 * input-p.tst

2.3.1 Alias Substitution
 * alias-p.tst

2.4 Reserved Words
 * redir-y.tst

2.5.2 Special Parameters
 * param-p.tst

2.5.3 Shell Variables
  IFS
    * fsplit-p.tst
  LINENO
    * lineno-p.tst
    * lineno-y.tst
  PS1, PS2, PS4
    * prompt-y.tst

2.6 Word Expansions
  Empty field removal
    * fsplit-p.tst

2.6.1 Tilde Expansion
 * tilde-p.tst

2.6.2 Parameter Expansion
 * param-p.tst
 * quote-p.tst

2.6.3 Command Substitution
 * cmdsub-p.tst

2.6.4 Arithmetic Expansion
 * arith-p.tst
 * arith-y.tst

2.6.5 Field Splitting
 * fsplit-p.tst

2.6.6 Pathname Expansion
 * path-p.tst

2.6.7 Quote Removal
 * quote-p.tst

2.7 Redirection
 * redir-p.tst
 * redir-y.tst

2.8.1 Consequences of Shell Errors
  Shell language syntax error
   * error-p.tst
  Special built-in utility error
   * dot-p.tst
   * export-p.tst
   * readonly-p.tst
   * trap-p.tst
   * unset-p.tst
  Redirection error
   * error-p.tst
   * error-y.tst
  Variable assignment error
   * error-p.tst
  Expansion error
   * error-p.tst

2.8.2 Exit Status for Commands
 * error-p.tst

2.9.1 Simple Commands

2.9.1.1 Order of Processing
 * declutil-p.tst
 * simple-p.tst

2.9.1.2 Variable Assignments
 * builtins-p.tst
 * simple-p.tst

2.9.1.3 Commands with no Command Name
 * redir-p.tst
 * simple-p.tst

2.9.1.4 Command Search and Execution
 * builtins-p.tst
 * builtins-y.tst
 * simple-p.tst

2.9.1.5 Standard File Descriptors

2.9.1.6 Non-built-in Utility Execution
 * simple-p.tst

2.9.2 Pipelines
 * pipeline-p.tst
 * pipeline-y.tst

2.9.3 Lists
 * andor-p.tst
 * async-p.tst
 * job-p.tst

2.9.4 Compound Commands
 * case-p.tst
 * for-p.tst
 * grouping-p.tst
 * if-p.tst
 * until-p.tst
 * while-p.tst

2.9.5 Function Definition Command
 * function-p.tst

2.10.2 Shell Grammar Rules
 * alias-p.tst
 * case-p.tst
 * case-y.tst
 * redir-y.tst

2.11 Job Control
 * job-p.tst
 * job-y.tst

2.12 Signals and Error Handling
 * sig*-p.tst
 * trap-p.tst
 * wait-p.tst

2.13 Shell Execution Environment
 * trap-p.tst

2.14 Pattern Matching Notation

2.14.1 Patterns Matching a Single Character
 * fnmatch-p.tst

2.14.2 Patterns Matching Multiple Characters
 * fnmatch-p.tst

2.14.3 Patterns Used for Filename Expansion
 * path-p.tst

2.15 Special Built-In Utilities
 * builtins-p.tst

break
 * break-p.tst
 * break-y.tst

colon
 * nop-p.tst

continue
 * continue-p.tst
 * continue-y.tst

dot
 * dot-p.tst

eval
 * eval-p.tst

exit
 * exit-p.tst

export
 * declutil-p.tst
 * export-p.tst

readonly
 * declutil-p.tst
 * readonly-p.tst
 * readonly-y.tst

return
 * return-p.tst

set
 * errexit-p.tst
 * option-p.tst
 * set-p.tst
 * set-y.tst
 * settty-y.tst

shift
 * shift-p.tst

unset
 * unset-p.tst

4 Utilities

alias
 * alias-p.tst

bg
 * bg-p.tst

cd
 * cd-p.tst

command
 * declutil-p.tst
 * command-p.tst

false
 * nop-p.tst

fg
 * fg-p.tst

getopts
 * getopts-p.tst
 * getopts-y.tst

hash
 * hash-y.tst

kill
 * kill1-p.tst
 * kill2-p.tst
 * kill3-p.tst
 * kill4-p.tst

printf
 * printf-y.tst

read
 * read-p.tst

sh
  Stdin, Input files
    * input-p.tst
  Asynchronous events
    * sig*-p.tst
  Exit status (128)
    * error-y.tst
  Exit status (>256)
    * exit-p.tst

test
 * test-p.tst
 * testtty-p.tst

trap
 * trap-p.tst

true
 * nop-p.tst

umask
 * umask-p.tst

unalias
 * alias-p.tst

wait
 * wait-p.tst
 * wait-y.tst


vim: set tw=78: