xref: /netbsd-src/external/bsd/tre/dist/tests/agrep/exitstatus.ok (revision 63d4abf06d37aace2f9e41a494102a64fe3abddb)
1*63d4abf0Sagc#### TEST: agrep  this-will-be-found exitstatus.in
2*63d4abf0Sagcthis-will-be-found
3*63d4abf0Sagc
4*63d4abf0SagcExit status 0.
5*63d4abf0Sagc#### TEST: agrep  this-will-be-found < exitstatus.in
6*63d4abf0Sagcthis-will-be-found
7*63d4abf0Sagc
8*63d4abf0SagcExit status 0.
9*63d4abf0Sagc#### TEST: agrep -c this-will-be-found exitstatus.in
10*63d4abf0Sagc1
11*63d4abf0Sagc
12*63d4abf0SagcExit status 0.
13*63d4abf0Sagc#### TEST: agrep -c this-will-be-found < exitstatus.in
14*63d4abf0Sagc1
15*63d4abf0Sagc
16*63d4abf0SagcExit status 0.
17*63d4abf0Sagc#### TEST: agrep -H this-will-be-found exitstatus.in
18*63d4abf0Sagcexitstatus.in:this-will-be-found
19*63d4abf0Sagc
20*63d4abf0SagcExit status 0.
21*63d4abf0Sagc#### TEST: agrep -H this-will-be-found < exitstatus.in
22*63d4abf0Sagc(standard input):this-will-be-found
23*63d4abf0Sagc
24*63d4abf0SagcExit status 0.
25*63d4abf0Sagc#### TEST: agrep -l this-will-be-found exitstatus.in
26*63d4abf0Sagcexitstatus.in
27*63d4abf0Sagc
28*63d4abf0SagcExit status 0.
29*63d4abf0Sagc#### TEST: agrep -l this-will-be-found < exitstatus.in
30*63d4abf0Sagc(standard input)
31*63d4abf0Sagc
32*63d4abf0SagcExit status 0.
33*63d4abf0Sagc#### TEST: agrep -n this-will-be-found exitstatus.in
34*63d4abf0Sagc1:this-will-be-found
35*63d4abf0Sagc
36*63d4abf0SagcExit status 0.
37*63d4abf0Sagc#### TEST: agrep -n this-will-be-found < exitstatus.in
38*63d4abf0Sagc1:this-will-be-found
39*63d4abf0Sagc
40*63d4abf0SagcExit status 0.
41*63d4abf0Sagc#### TEST: agrep -s this-will-be-found exitstatus.in
42*63d4abf0Sagc0:this-will-be-found
43*63d4abf0Sagc
44*63d4abf0SagcExit status 0.
45*63d4abf0Sagc#### TEST: agrep -s this-will-be-found < exitstatus.in
46*63d4abf0Sagc0:this-will-be-found
47*63d4abf0Sagc
48*63d4abf0SagcExit status 0.
49*63d4abf0Sagc#### TEST: agrep -M this-will-be-found exitstatus.in
50*63d4abf0Sagcthis-will-be-found
51*63d4abf0Sagc
52*63d4abf0SagcExit status 0.
53*63d4abf0Sagc#### TEST: agrep -M this-will-be-found < exitstatus.in
54*63d4abf0Sagcthis-will-be-found
55*63d4abf0Sagc
56*63d4abf0SagcExit status 0.
57*63d4abf0Sagc#### TEST: agrep --show-position this-will-be-found exitstatus.in
58*63d4abf0Sagc0-18:this-will-be-found
59*63d4abf0Sagc
60*63d4abf0SagcExit status 0.
61*63d4abf0Sagc#### TEST: agrep --show-position this-will-be-found < exitstatus.in
62*63d4abf0Sagc0-18:this-will-be-found
63*63d4abf0Sagc
64*63d4abf0SagcExit status 0.
65*63d4abf0Sagc#### TEST: agrep --color this-will-be-found exitstatus.in
66*63d4abf0Sagcthis-will-be-found
67*63d4abf0Sagc
68*63d4abf0SagcExit status 0.
69*63d4abf0Sagc#### TEST: agrep --color this-will-be-found < exitstatus.in
70*63d4abf0Sagcthis-will-be-found
71*63d4abf0Sagc
72*63d4abf0SagcExit status 0.
73*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position this-will-be-found exitstatus.in
74*63d4abf0Sagcexitstatus.in:1:0:0-18:this-will-be-found
75*63d4abf0Sagc
76*63d4abf0SagcExit status 0.
77*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position this-will-be-found < exitstatus.in
78*63d4abf0Sagc(standard input):1:0:0-18:this-will-be-found
79*63d4abf0Sagc
80*63d4abf0SagcExit status 0.
81*63d4abf0Sagc#### TEST: agrep  -v this-will-be-found exitstatus.in
82*63d4abf0Sagcso will this
83*63d4abf0Sagcjust some stuff
84*63d4abf0Sagc
85*63d4abf0SagcExit status 0.
86*63d4abf0Sagc#### TEST: agrep  -v this-will-be-found < exitstatus.in
87*63d4abf0Sagcso will this
88*63d4abf0Sagcjust some stuff
89*63d4abf0Sagc
90*63d4abf0SagcExit status 0.
91*63d4abf0Sagc#### TEST: agrep -c -v this-will-be-found exitstatus.in
92*63d4abf0Sagc2
93*63d4abf0Sagc
94*63d4abf0SagcExit status 0.
95*63d4abf0Sagc#### TEST: agrep -c -v this-will-be-found < exitstatus.in
96*63d4abf0Sagc2
97*63d4abf0Sagc
98*63d4abf0SagcExit status 0.
99*63d4abf0Sagc#### TEST: agrep -H -v this-will-be-found exitstatus.in
100*63d4abf0Sagcexitstatus.in:so will this
101*63d4abf0Sagcexitstatus.in:just some stuff
102*63d4abf0Sagc
103*63d4abf0SagcExit status 0.
104*63d4abf0Sagc#### TEST: agrep -H -v this-will-be-found < exitstatus.in
105*63d4abf0Sagc(standard input):so will this
106*63d4abf0Sagc(standard input):just some stuff
107*63d4abf0Sagc
108*63d4abf0SagcExit status 0.
109*63d4abf0Sagc#### TEST: agrep -l -v this-will-be-found exitstatus.in
110*63d4abf0Sagcexitstatus.in
111*63d4abf0Sagc
112*63d4abf0SagcExit status 0.
113*63d4abf0Sagc#### TEST: agrep -l -v this-will-be-found < exitstatus.in
114*63d4abf0Sagc(standard input)
115*63d4abf0Sagc
116*63d4abf0SagcExit status 0.
117*63d4abf0Sagc#### TEST: agrep -n -v this-will-be-found exitstatus.in
118*63d4abf0Sagc2:so will this
119*63d4abf0Sagc3:just some stuff
120*63d4abf0Sagc
121*63d4abf0SagcExit status 0.
122*63d4abf0Sagc#### TEST: agrep -n -v this-will-be-found < exitstatus.in
123*63d4abf0Sagc2:so will this
124*63d4abf0Sagc3:just some stuff
125*63d4abf0Sagc
126*63d4abf0SagcExit status 0.
127*63d4abf0Sagc#### TEST: agrep -s -v this-will-be-found exitstatus.in
128*63d4abf0Sagc0:so will this
129*63d4abf0Sagc0:just some stuff
130*63d4abf0Sagc
131*63d4abf0SagcExit status 0.
132*63d4abf0Sagc#### TEST: agrep -s -v this-will-be-found < exitstatus.in
133*63d4abf0Sagc0:so will this
134*63d4abf0Sagc0:just some stuff
135*63d4abf0Sagc
136*63d4abf0SagcExit status 0.
137*63d4abf0Sagc#### TEST: agrep -M -v this-will-be-found exitstatus.in
138*63d4abf0Sagcso will this
139*63d4abf0Sagcjust some stuff
140*63d4abf0Sagc
141*63d4abf0SagcExit status 0.
142*63d4abf0Sagc#### TEST: agrep -M -v this-will-be-found < exitstatus.in
143*63d4abf0Sagcso will this
144*63d4abf0Sagcjust some stuff
145*63d4abf0Sagc
146*63d4abf0SagcExit status 0.
147*63d4abf0Sagc#### TEST: agrep --show-position -v this-will-be-found exitstatus.in
148*63d4abf0Sagc0-12:so will this
149*63d4abf0Sagc0-15:just some stuff
150*63d4abf0Sagc
151*63d4abf0SagcExit status 0.
152*63d4abf0Sagc#### TEST: agrep --show-position -v this-will-be-found < exitstatus.in
153*63d4abf0Sagc0-12:so will this
154*63d4abf0Sagc0-15:just some stuff
155*63d4abf0Sagc
156*63d4abf0SagcExit status 0.
157*63d4abf0Sagc#### TEST: agrep --color -v this-will-be-found exitstatus.in
158*63d4abf0Sagcso will this
159*63d4abf0Sagcjust some stuff
160*63d4abf0Sagc
161*63d4abf0SagcExit status 0.
162*63d4abf0Sagc#### TEST: agrep --color -v this-will-be-found < exitstatus.in
163*63d4abf0Sagcso will this
164*63d4abf0Sagcjust some stuff
165*63d4abf0Sagc
166*63d4abf0SagcExit status 0.
167*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position -v this-will-be-found exitstatus.in
168*63d4abf0Sagcexitstatus.in:2:0:0-12:so will this
169*63d4abf0Sagcexitstatus.in:3:0:0-15:just some stuff
170*63d4abf0Sagc
171*63d4abf0SagcExit status 0.
172*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position -v this-will-be-found < exitstatus.in
173*63d4abf0Sagc(standard input):2:0:0-12:so will this
174*63d4abf0Sagc(standard input):3:0:0-15:just some stuff
175*63d4abf0Sagc
176*63d4abf0SagcExit status 0.
177*63d4abf0Sagc#### TEST: agrep  this-wont-be-found exitstatus.in
178*63d4abf0Sagc
179*63d4abf0SagcExit status 1.
180*63d4abf0Sagc#### TEST: agrep  this-wont-be-found < exitstatus.in
181*63d4abf0Sagc
182*63d4abf0SagcExit status 1.
183*63d4abf0Sagc#### TEST: agrep -c this-wont-be-found exitstatus.in
184*63d4abf0Sagc0
185*63d4abf0Sagc
186*63d4abf0SagcExit status 1.
187*63d4abf0Sagc#### TEST: agrep -c this-wont-be-found < exitstatus.in
188*63d4abf0Sagc0
189*63d4abf0Sagc
190*63d4abf0SagcExit status 1.
191*63d4abf0Sagc#### TEST: agrep -H this-wont-be-found exitstatus.in
192*63d4abf0Sagc
193*63d4abf0SagcExit status 1.
194*63d4abf0Sagc#### TEST: agrep -H this-wont-be-found < exitstatus.in
195*63d4abf0Sagc
196*63d4abf0SagcExit status 1.
197*63d4abf0Sagc#### TEST: agrep -l this-wont-be-found exitstatus.in
198*63d4abf0Sagc
199*63d4abf0SagcExit status 1.
200*63d4abf0Sagc#### TEST: agrep -l this-wont-be-found < exitstatus.in
201*63d4abf0Sagc
202*63d4abf0SagcExit status 1.
203*63d4abf0Sagc#### TEST: agrep -n this-wont-be-found exitstatus.in
204*63d4abf0Sagc
205*63d4abf0SagcExit status 1.
206*63d4abf0Sagc#### TEST: agrep -n this-wont-be-found < exitstatus.in
207*63d4abf0Sagc
208*63d4abf0SagcExit status 1.
209*63d4abf0Sagc#### TEST: agrep -s this-wont-be-found exitstatus.in
210*63d4abf0Sagc
211*63d4abf0SagcExit status 1.
212*63d4abf0Sagc#### TEST: agrep -s this-wont-be-found < exitstatus.in
213*63d4abf0Sagc
214*63d4abf0SagcExit status 1.
215*63d4abf0Sagc#### TEST: agrep -M this-wont-be-found exitstatus.in
216*63d4abf0Sagc
217*63d4abf0SagcExit status 1.
218*63d4abf0Sagc#### TEST: agrep -M this-wont-be-found < exitstatus.in
219*63d4abf0Sagc
220*63d4abf0SagcExit status 1.
221*63d4abf0Sagc#### TEST: agrep --show-position this-wont-be-found exitstatus.in
222*63d4abf0Sagc
223*63d4abf0SagcExit status 1.
224*63d4abf0Sagc#### TEST: agrep --show-position this-wont-be-found < exitstatus.in
225*63d4abf0Sagc
226*63d4abf0SagcExit status 1.
227*63d4abf0Sagc#### TEST: agrep --color this-wont-be-found exitstatus.in
228*63d4abf0Sagc
229*63d4abf0SagcExit status 1.
230*63d4abf0Sagc#### TEST: agrep --color this-wont-be-found < exitstatus.in
231*63d4abf0Sagc
232*63d4abf0SagcExit status 1.
233*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position this-wont-be-found exitstatus.in
234*63d4abf0Sagc
235*63d4abf0SagcExit status 1.
236*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position this-wont-be-found < exitstatus.in
237*63d4abf0Sagc
238*63d4abf0SagcExit status 1.
239*63d4abf0Sagc#### TEST: agrep  -v this-wont-be-found exitstatus.in
240*63d4abf0Sagcthis-will-be-found
241*63d4abf0Sagcso will this
242*63d4abf0Sagcjust some stuff
243*63d4abf0Sagc
244*63d4abf0SagcExit status 0.
245*63d4abf0Sagc#### TEST: agrep  -v this-wont-be-found < exitstatus.in
246*63d4abf0Sagcthis-will-be-found
247*63d4abf0Sagcso will this
248*63d4abf0Sagcjust some stuff
249*63d4abf0Sagc
250*63d4abf0SagcExit status 0.
251*63d4abf0Sagc#### TEST: agrep -c -v this-wont-be-found exitstatus.in
252*63d4abf0Sagc3
253*63d4abf0Sagc
254*63d4abf0SagcExit status 0.
255*63d4abf0Sagc#### TEST: agrep -c -v this-wont-be-found < exitstatus.in
256*63d4abf0Sagc3
257*63d4abf0Sagc
258*63d4abf0SagcExit status 0.
259*63d4abf0Sagc#### TEST: agrep -H -v this-wont-be-found exitstatus.in
260*63d4abf0Sagcexitstatus.in:this-will-be-found
261*63d4abf0Sagcexitstatus.in:so will this
262*63d4abf0Sagcexitstatus.in:just some stuff
263*63d4abf0Sagc
264*63d4abf0SagcExit status 0.
265*63d4abf0Sagc#### TEST: agrep -H -v this-wont-be-found < exitstatus.in
266*63d4abf0Sagc(standard input):this-will-be-found
267*63d4abf0Sagc(standard input):so will this
268*63d4abf0Sagc(standard input):just some stuff
269*63d4abf0Sagc
270*63d4abf0SagcExit status 0.
271*63d4abf0Sagc#### TEST: agrep -l -v this-wont-be-found exitstatus.in
272*63d4abf0Sagcexitstatus.in
273*63d4abf0Sagc
274*63d4abf0SagcExit status 0.
275*63d4abf0Sagc#### TEST: agrep -l -v this-wont-be-found < exitstatus.in
276*63d4abf0Sagc(standard input)
277*63d4abf0Sagc
278*63d4abf0SagcExit status 0.
279*63d4abf0Sagc#### TEST: agrep -n -v this-wont-be-found exitstatus.in
280*63d4abf0Sagc1:this-will-be-found
281*63d4abf0Sagc2:so will this
282*63d4abf0Sagc3:just some stuff
283*63d4abf0Sagc
284*63d4abf0SagcExit status 0.
285*63d4abf0Sagc#### TEST: agrep -n -v this-wont-be-found < exitstatus.in
286*63d4abf0Sagc1:this-will-be-found
287*63d4abf0Sagc2:so will this
288*63d4abf0Sagc3:just some stuff
289*63d4abf0Sagc
290*63d4abf0SagcExit status 0.
291*63d4abf0Sagc#### TEST: agrep -s -v this-wont-be-found exitstatus.in
292*63d4abf0Sagc0:this-will-be-found
293*63d4abf0Sagc0:so will this
294*63d4abf0Sagc0:just some stuff
295*63d4abf0Sagc
296*63d4abf0SagcExit status 0.
297*63d4abf0Sagc#### TEST: agrep -s -v this-wont-be-found < exitstatus.in
298*63d4abf0Sagc0:this-will-be-found
299*63d4abf0Sagc0:so will this
300*63d4abf0Sagc0:just some stuff
301*63d4abf0Sagc
302*63d4abf0SagcExit status 0.
303*63d4abf0Sagc#### TEST: agrep -M -v this-wont-be-found exitstatus.in
304*63d4abf0Sagcthis-will-be-found
305*63d4abf0Sagcso will this
306*63d4abf0Sagcjust some stuff
307*63d4abf0Sagc
308*63d4abf0SagcExit status 0.
309*63d4abf0Sagc#### TEST: agrep -M -v this-wont-be-found < exitstatus.in
310*63d4abf0Sagcthis-will-be-found
311*63d4abf0Sagcso will this
312*63d4abf0Sagcjust some stuff
313*63d4abf0Sagc
314*63d4abf0SagcExit status 0.
315*63d4abf0Sagc#### TEST: agrep --show-position -v this-wont-be-found exitstatus.in
316*63d4abf0Sagc0-18:this-will-be-found
317*63d4abf0Sagc0-12:so will this
318*63d4abf0Sagc0-15:just some stuff
319*63d4abf0Sagc
320*63d4abf0SagcExit status 0.
321*63d4abf0Sagc#### TEST: agrep --show-position -v this-wont-be-found < exitstatus.in
322*63d4abf0Sagc0-18:this-will-be-found
323*63d4abf0Sagc0-12:so will this
324*63d4abf0Sagc0-15:just some stuff
325*63d4abf0Sagc
326*63d4abf0SagcExit status 0.
327*63d4abf0Sagc#### TEST: agrep --color -v this-wont-be-found exitstatus.in
328*63d4abf0Sagcthis-will-be-found
329*63d4abf0Sagcso will this
330*63d4abf0Sagcjust some stuff
331*63d4abf0Sagc
332*63d4abf0SagcExit status 0.
333*63d4abf0Sagc#### TEST: agrep --color -v this-wont-be-found < exitstatus.in
334*63d4abf0Sagcthis-will-be-found
335*63d4abf0Sagcso will this
336*63d4abf0Sagcjust some stuff
337*63d4abf0Sagc
338*63d4abf0SagcExit status 0.
339*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position -v this-wont-be-found exitstatus.in
340*63d4abf0Sagcexitstatus.in:1:0:0-18:this-will-be-found
341*63d4abf0Sagcexitstatus.in:2:0:0-12:so will this
342*63d4abf0Sagcexitstatus.in:3:0:0-15:just some stuff
343*63d4abf0Sagc
344*63d4abf0SagcExit status 0.
345*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position -v this-wont-be-found < exitstatus.in
346*63d4abf0Sagc(standard input):1:0:0-18:this-will-be-found
347*63d4abf0Sagc(standard input):2:0:0-12:so will this
348*63d4abf0Sagc(standard input):3:0:0-15:just some stuff
349*63d4abf0Sagc
350*63d4abf0SagcExit status 0.
351*63d4abf0Sagc#### TEST: agrep  . exitstatus.in
352*63d4abf0Sagcthis-will-be-found
353*63d4abf0Sagcso will this
354*63d4abf0Sagcjust some stuff
355*63d4abf0Sagc
356*63d4abf0SagcExit status 0.
357*63d4abf0Sagc#### TEST: agrep  . < exitstatus.in
358*63d4abf0Sagcthis-will-be-found
359*63d4abf0Sagcso will this
360*63d4abf0Sagcjust some stuff
361*63d4abf0Sagc
362*63d4abf0SagcExit status 0.
363*63d4abf0Sagc#### TEST: agrep -c . exitstatus.in
364*63d4abf0Sagc3
365*63d4abf0Sagc
366*63d4abf0SagcExit status 0.
367*63d4abf0Sagc#### TEST: agrep -c . < exitstatus.in
368*63d4abf0Sagc3
369*63d4abf0Sagc
370*63d4abf0SagcExit status 0.
371*63d4abf0Sagc#### TEST: agrep -H . exitstatus.in
372*63d4abf0Sagcexitstatus.in:this-will-be-found
373*63d4abf0Sagcexitstatus.in:so will this
374*63d4abf0Sagcexitstatus.in:just some stuff
375*63d4abf0Sagc
376*63d4abf0SagcExit status 0.
377*63d4abf0Sagc#### TEST: agrep -H . < exitstatus.in
378*63d4abf0Sagc(standard input):this-will-be-found
379*63d4abf0Sagc(standard input):so will this
380*63d4abf0Sagc(standard input):just some stuff
381*63d4abf0Sagc
382*63d4abf0SagcExit status 0.
383*63d4abf0Sagc#### TEST: agrep -l . exitstatus.in
384*63d4abf0Sagcexitstatus.in
385*63d4abf0Sagc
386*63d4abf0SagcExit status 0.
387*63d4abf0Sagc#### TEST: agrep -l . < exitstatus.in
388*63d4abf0Sagc(standard input)
389*63d4abf0Sagc
390*63d4abf0SagcExit status 0.
391*63d4abf0Sagc#### TEST: agrep -n . exitstatus.in
392*63d4abf0Sagc1:this-will-be-found
393*63d4abf0Sagc2:so will this
394*63d4abf0Sagc3:just some stuff
395*63d4abf0Sagc
396*63d4abf0SagcExit status 0.
397*63d4abf0Sagc#### TEST: agrep -n . < exitstatus.in
398*63d4abf0Sagc1:this-will-be-found
399*63d4abf0Sagc2:so will this
400*63d4abf0Sagc3:just some stuff
401*63d4abf0Sagc
402*63d4abf0SagcExit status 0.
403*63d4abf0Sagc#### TEST: agrep -s . exitstatus.in
404*63d4abf0Sagc0:this-will-be-found
405*63d4abf0Sagc0:so will this
406*63d4abf0Sagc0:just some stuff
407*63d4abf0Sagc
408*63d4abf0SagcExit status 0.
409*63d4abf0Sagc#### TEST: agrep -s . < exitstatus.in
410*63d4abf0Sagc0:this-will-be-found
411*63d4abf0Sagc0:so will this
412*63d4abf0Sagc0:just some stuff
413*63d4abf0Sagc
414*63d4abf0SagcExit status 0.
415*63d4abf0Sagc#### TEST: agrep -M . exitstatus.in
416*63d4abf0Sagcthis-will-be-found
417*63d4abf0Sagcso will this
418*63d4abf0Sagcjust some stuff
419*63d4abf0Sagc
420*63d4abf0SagcExit status 0.
421*63d4abf0Sagc#### TEST: agrep -M . < exitstatus.in
422*63d4abf0Sagcthis-will-be-found
423*63d4abf0Sagcso will this
424*63d4abf0Sagcjust some stuff
425*63d4abf0Sagc
426*63d4abf0SagcExit status 0.
427*63d4abf0Sagc#### TEST: agrep --show-position . exitstatus.in
428*63d4abf0Sagc0-1:this-will-be-found
429*63d4abf0Sagc0-1:so will this
430*63d4abf0Sagc0-1:just some stuff
431*63d4abf0Sagc
432*63d4abf0SagcExit status 0.
433*63d4abf0Sagc#### TEST: agrep --show-position . < exitstatus.in
434*63d4abf0Sagc0-1:this-will-be-found
435*63d4abf0Sagc0-1:so will this
436*63d4abf0Sagc0-1:just some stuff
437*63d4abf0Sagc
438*63d4abf0SagcExit status 0.
439*63d4abf0Sagc#### TEST: agrep --color . exitstatus.in
440*63d4abf0Sagcthis-will-be-found
441*63d4abf0Sagcso will this
442*63d4abf0Sagcjust some stuff
443*63d4abf0Sagc
444*63d4abf0SagcExit status 0.
445*63d4abf0Sagc#### TEST: agrep --color . < exitstatus.in
446*63d4abf0Sagcthis-will-be-found
447*63d4abf0Sagcso will this
448*63d4abf0Sagcjust some stuff
449*63d4abf0Sagc
450*63d4abf0SagcExit status 0.
451*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position . exitstatus.in
452*63d4abf0Sagcexitstatus.in:1:0:0-1:this-will-be-found
453*63d4abf0Sagcexitstatus.in:2:0:0-1:so will this
454*63d4abf0Sagcexitstatus.in:3:0:0-1:just some stuff
455*63d4abf0Sagc
456*63d4abf0SagcExit status 0.
457*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position . < exitstatus.in
458*63d4abf0Sagc(standard input):1:0:0-1:this-will-be-found
459*63d4abf0Sagc(standard input):2:0:0-1:so will this
460*63d4abf0Sagc(standard input):3:0:0-1:just some stuff
461*63d4abf0Sagc
462*63d4abf0SagcExit status 0.
463*63d4abf0Sagc#### TEST: agrep  -v . exitstatus.in
464*63d4abf0Sagc
465*63d4abf0SagcExit status 1.
466*63d4abf0Sagc#### TEST: agrep  -v . < exitstatus.in
467*63d4abf0Sagc
468*63d4abf0SagcExit status 1.
469*63d4abf0Sagc#### TEST: agrep -c -v . exitstatus.in
470*63d4abf0Sagc0
471*63d4abf0Sagc
472*63d4abf0SagcExit status 1.
473*63d4abf0Sagc#### TEST: agrep -c -v . < exitstatus.in
474*63d4abf0Sagc0
475*63d4abf0Sagc
476*63d4abf0SagcExit status 1.
477*63d4abf0Sagc#### TEST: agrep -H -v . exitstatus.in
478*63d4abf0Sagc
479*63d4abf0SagcExit status 1.
480*63d4abf0Sagc#### TEST: agrep -H -v . < exitstatus.in
481*63d4abf0Sagc
482*63d4abf0SagcExit status 1.
483*63d4abf0Sagc#### TEST: agrep -l -v . exitstatus.in
484*63d4abf0Sagc
485*63d4abf0SagcExit status 1.
486*63d4abf0Sagc#### TEST: agrep -l -v . < exitstatus.in
487*63d4abf0Sagc
488*63d4abf0SagcExit status 1.
489*63d4abf0Sagc#### TEST: agrep -n -v . exitstatus.in
490*63d4abf0Sagc
491*63d4abf0SagcExit status 1.
492*63d4abf0Sagc#### TEST: agrep -n -v . < exitstatus.in
493*63d4abf0Sagc
494*63d4abf0SagcExit status 1.
495*63d4abf0Sagc#### TEST: agrep -s -v . exitstatus.in
496*63d4abf0Sagc
497*63d4abf0SagcExit status 1.
498*63d4abf0Sagc#### TEST: agrep -s -v . < exitstatus.in
499*63d4abf0Sagc
500*63d4abf0SagcExit status 1.
501*63d4abf0Sagc#### TEST: agrep -M -v . exitstatus.in
502*63d4abf0Sagc
503*63d4abf0SagcExit status 1.
504*63d4abf0Sagc#### TEST: agrep -M -v . < exitstatus.in
505*63d4abf0Sagc
506*63d4abf0SagcExit status 1.
507*63d4abf0Sagc#### TEST: agrep --show-position -v . exitstatus.in
508*63d4abf0Sagc
509*63d4abf0SagcExit status 1.
510*63d4abf0Sagc#### TEST: agrep --show-position -v . < exitstatus.in
511*63d4abf0Sagc
512*63d4abf0SagcExit status 1.
513*63d4abf0Sagc#### TEST: agrep --color -v . exitstatus.in
514*63d4abf0Sagc
515*63d4abf0SagcExit status 1.
516*63d4abf0Sagc#### TEST: agrep --color -v . < exitstatus.in
517*63d4abf0Sagc
518*63d4abf0SagcExit status 1.
519*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position -v . exitstatus.in
520*63d4abf0Sagc
521*63d4abf0SagcExit status 1.
522*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position -v . < exitstatus.in
523*63d4abf0Sagc
524*63d4abf0SagcExit status 1.
525*63d4abf0Sagc#### TEST: agrep  -d .* dummy exitstatus.in
526*63d4abf0Sagc
527*63d4abf0SagcExit status 1.
528*63d4abf0Sagc#### TEST: agrep  -d .* dummy < exitstatus.in
529*63d4abf0Sagc
530*63d4abf0SagcExit status 1.
531*63d4abf0Sagc#### TEST: agrep -c -d .* dummy exitstatus.in
532*63d4abf0Sagcexitstatus.in:0
533*63d4abf0Sagc
534*63d4abf0SagcExit status 1.
535*63d4abf0Sagc#### TEST: agrep -c -d .* dummy < exitstatus.in
536*63d4abf0Sagc
537*63d4abf0SagcExit status 1.
538*63d4abf0Sagc#### TEST: agrep -H -d .* dummy exitstatus.in
539*63d4abf0Sagc
540*63d4abf0SagcExit status 1.
541*63d4abf0Sagc#### TEST: agrep -H -d .* dummy < exitstatus.in
542*63d4abf0Sagc
543*63d4abf0SagcExit status 1.
544*63d4abf0Sagc#### TEST: agrep -l -d .* dummy exitstatus.in
545*63d4abf0Sagc
546*63d4abf0SagcExit status 1.
547*63d4abf0Sagc#### TEST: agrep -l -d .* dummy < exitstatus.in
548*63d4abf0Sagc
549*63d4abf0SagcExit status 1.
550*63d4abf0Sagc#### TEST: agrep -n -d .* dummy exitstatus.in
551*63d4abf0Sagc
552*63d4abf0SagcExit status 1.
553*63d4abf0Sagc#### TEST: agrep -n -d .* dummy < exitstatus.in
554*63d4abf0Sagc
555*63d4abf0SagcExit status 1.
556*63d4abf0Sagc#### TEST: agrep -s -d .* dummy exitstatus.in
557*63d4abf0Sagc
558*63d4abf0SagcExit status 1.
559*63d4abf0Sagc#### TEST: agrep -s -d .* dummy < exitstatus.in
560*63d4abf0Sagc
561*63d4abf0SagcExit status 1.
562*63d4abf0Sagc#### TEST: agrep -M -d .* dummy exitstatus.in
563*63d4abf0Sagc
564*63d4abf0SagcExit status 1.
565*63d4abf0Sagc#### TEST: agrep -M -d .* dummy < exitstatus.in
566*63d4abf0Sagc
567*63d4abf0SagcExit status 1.
568*63d4abf0Sagc#### TEST: agrep --show-position -d .* dummy exitstatus.in
569*63d4abf0Sagc
570*63d4abf0SagcExit status 1.
571*63d4abf0Sagc#### TEST: agrep --show-position -d .* dummy < exitstatus.in
572*63d4abf0Sagc
573*63d4abf0SagcExit status 1.
574*63d4abf0Sagc#### TEST: agrep --color -d .* dummy exitstatus.in
575*63d4abf0Sagc
576*63d4abf0SagcExit status 1.
577*63d4abf0Sagc#### TEST: agrep --color -d .* dummy < exitstatus.in
578*63d4abf0Sagc
579*63d4abf0SagcExit status 1.
580*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position -d .* dummy exitstatus.in
581*63d4abf0Sagc
582*63d4abf0SagcExit status 1.
583*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position -d .* dummy < exitstatus.in
584*63d4abf0Sagc
585*63d4abf0SagcExit status 1.
586*63d4abf0Sagc#### TEST: agrep  -d {1 dummy exitstatus.in
587*63d4abf0Sagc
588*63d4abf0SagcExit status 2.
589*63d4abf0Sagc#### TEST: agrep  -d {1 dummy < exitstatus.in
590*63d4abf0Sagc
591*63d4abf0SagcExit status 2.
592*63d4abf0Sagc#### TEST: agrep -c -d {1 dummy exitstatus.in
593*63d4abf0Sagc
594*63d4abf0SagcExit status 2.
595*63d4abf0Sagc#### TEST: agrep -c -d {1 dummy < exitstatus.in
596*63d4abf0Sagc
597*63d4abf0SagcExit status 2.
598*63d4abf0Sagc#### TEST: agrep -H -d {1 dummy exitstatus.in
599*63d4abf0Sagc
600*63d4abf0SagcExit status 2.
601*63d4abf0Sagc#### TEST: agrep -H -d {1 dummy < exitstatus.in
602*63d4abf0Sagc
603*63d4abf0SagcExit status 2.
604*63d4abf0Sagc#### TEST: agrep -l -d {1 dummy exitstatus.in
605*63d4abf0Sagc
606*63d4abf0SagcExit status 2.
607*63d4abf0Sagc#### TEST: agrep -l -d {1 dummy < exitstatus.in
608*63d4abf0Sagc
609*63d4abf0SagcExit status 2.
610*63d4abf0Sagc#### TEST: agrep -n -d {1 dummy exitstatus.in
611*63d4abf0Sagc
612*63d4abf0SagcExit status 2.
613*63d4abf0Sagc#### TEST: agrep -n -d {1 dummy < exitstatus.in
614*63d4abf0Sagc
615*63d4abf0SagcExit status 2.
616*63d4abf0Sagc#### TEST: agrep -s -d {1 dummy exitstatus.in
617*63d4abf0Sagc
618*63d4abf0SagcExit status 2.
619*63d4abf0Sagc#### TEST: agrep -s -d {1 dummy < exitstatus.in
620*63d4abf0Sagc
621*63d4abf0SagcExit status 2.
622*63d4abf0Sagc#### TEST: agrep -M -d {1 dummy exitstatus.in
623*63d4abf0Sagc
624*63d4abf0SagcExit status 2.
625*63d4abf0Sagc#### TEST: agrep -M -d {1 dummy < exitstatus.in
626*63d4abf0Sagc
627*63d4abf0SagcExit status 2.
628*63d4abf0Sagc#### TEST: agrep --show-position -d {1 dummy exitstatus.in
629*63d4abf0Sagc
630*63d4abf0SagcExit status 2.
631*63d4abf0Sagc#### TEST: agrep --show-position -d {1 dummy < exitstatus.in
632*63d4abf0Sagc
633*63d4abf0SagcExit status 2.
634*63d4abf0Sagc#### TEST: agrep --color -d {1 dummy exitstatus.in
635*63d4abf0Sagc
636*63d4abf0SagcExit status 2.
637*63d4abf0Sagc#### TEST: agrep --color -d {1 dummy < exitstatus.in
638*63d4abf0Sagc
639*63d4abf0SagcExit status 2.
640*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position -d {1 dummy exitstatus.in
641*63d4abf0Sagc
642*63d4abf0SagcExit status 2.
643*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position -d {1 dummy < exitstatus.in
644*63d4abf0Sagc
645*63d4abf0SagcExit status 2.
646*63d4abf0Sagc#### TEST: agrep  \ exitstatus.in
647*63d4abf0Sagc
648*63d4abf0SagcExit status 2.
649*63d4abf0Sagc#### TEST: agrep  \ < exitstatus.in
650*63d4abf0Sagc
651*63d4abf0SagcExit status 2.
652*63d4abf0Sagc#### TEST: agrep -c \ exitstatus.in
653*63d4abf0Sagc
654*63d4abf0SagcExit status 2.
655*63d4abf0Sagc#### TEST: agrep -c \ < exitstatus.in
656*63d4abf0Sagc
657*63d4abf0SagcExit status 2.
658*63d4abf0Sagc#### TEST: agrep -H \ exitstatus.in
659*63d4abf0Sagc
660*63d4abf0SagcExit status 2.
661*63d4abf0Sagc#### TEST: agrep -H \ < exitstatus.in
662*63d4abf0Sagc
663*63d4abf0SagcExit status 2.
664*63d4abf0Sagc#### TEST: agrep -l \ exitstatus.in
665*63d4abf0Sagc
666*63d4abf0SagcExit status 2.
667*63d4abf0Sagc#### TEST: agrep -l \ < exitstatus.in
668*63d4abf0Sagc
669*63d4abf0SagcExit status 2.
670*63d4abf0Sagc#### TEST: agrep -n \ exitstatus.in
671*63d4abf0Sagc
672*63d4abf0SagcExit status 2.
673*63d4abf0Sagc#### TEST: agrep -n \ < exitstatus.in
674*63d4abf0Sagc
675*63d4abf0SagcExit status 2.
676*63d4abf0Sagc#### TEST: agrep -s \ exitstatus.in
677*63d4abf0Sagc
678*63d4abf0SagcExit status 2.
679*63d4abf0Sagc#### TEST: agrep -s \ < exitstatus.in
680*63d4abf0Sagc
681*63d4abf0SagcExit status 2.
682*63d4abf0Sagc#### TEST: agrep -M \ exitstatus.in
683*63d4abf0Sagc
684*63d4abf0SagcExit status 2.
685*63d4abf0Sagc#### TEST: agrep -M \ < exitstatus.in
686*63d4abf0Sagc
687*63d4abf0SagcExit status 2.
688*63d4abf0Sagc#### TEST: agrep --show-position \ exitstatus.in
689*63d4abf0Sagc
690*63d4abf0SagcExit status 2.
691*63d4abf0Sagc#### TEST: agrep --show-position \ < exitstatus.in
692*63d4abf0Sagc
693*63d4abf0SagcExit status 2.
694*63d4abf0Sagc#### TEST: agrep --color \ exitstatus.in
695*63d4abf0Sagc
696*63d4abf0SagcExit status 2.
697*63d4abf0Sagc#### TEST: agrep --color \ < exitstatus.in
698*63d4abf0Sagc
699*63d4abf0SagcExit status 2.
700*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position \ exitstatus.in
701*63d4abf0Sagc
702*63d4abf0SagcExit status 2.
703*63d4abf0Sagc#### TEST: agrep -H -n -s --color --show-position \ < exitstatus.in
704*63d4abf0Sagc
705*63d4abf0SagcExit status 2.
706