1 #### TEST: agrep random basic.in 2 Some random text here. 3 4 Exit status 0. 5 #### TEST: agrep random < basic.in 6 Some random text here. 7 8 Exit status 0. 9 #### TEST: agrep -c random basic.in 10 1 11 12 Exit status 0. 13 #### TEST: agrep -c random < basic.in 14 1 15 16 Exit status 0. 17 #### TEST: agrep -H random basic.in 18 basic.in:Some random text here. 19 20 Exit status 0. 21 #### TEST: agrep -H random < basic.in 22 (standard input):Some random text here. 23 24 Exit status 0. 25 #### TEST: agrep -l random basic.in 26 basic.in 27 28 Exit status 0. 29 #### TEST: agrep -l random < basic.in 30 (standard input) 31 32 Exit status 0. 33 #### TEST: agrep -n random basic.in 34 1:Some random text here. 35 36 Exit status 0. 37 #### TEST: agrep -n random < basic.in 38 1:Some random text here. 39 40 Exit status 0. 41 #### TEST: agrep -s random basic.in 42 0:Some random text here. 43 44 Exit status 0. 45 #### TEST: agrep -s random < basic.in 46 0:Some random text here. 47 48 Exit status 0. 49 #### TEST: agrep -M random basic.in 50 Some random text here. 51 52 Exit status 0. 53 #### TEST: agrep -M random < basic.in 54 Some random text here. 55 56 Exit status 0. 57 #### TEST: agrep --show-position random basic.in 58 5-11:Some random text here. 59 60 Exit status 0. 61 #### TEST: agrep --show-position random < basic.in 62 5-11:Some random text here. 63 64 Exit status 0. 65 #### TEST: agrep --color random basic.in 66 Some [01;31mrandom[00m text here. 67 68 Exit status 0. 69 #### TEST: agrep --color random < basic.in 70 Some [01;31mrandom[00m text here. 71 72 Exit status 0. 73 #### TEST: agrep -H -n -s --color --show-position random basic.in 74 basic.in:1:0:5-11:Some [01;31mrandom[00m text here. 75 76 Exit status 0. 77 #### TEST: agrep -H -n -s --color --show-position random < basic.in 78 (standard input):1:0:5-11:Some [01;31mrandom[00m text here. 79 80 Exit status 0. 81 #### TEST: agrep -v random basic.in 82 Foo bar quux. 83 Let's hear an example of correct microphone placing. 84 I suppose for something like that one would use a very large number of microphones. 85 Extraordinary. 86 Take California. 87 A-ding-ing-ng-WROOOOM-ding-ding-boing! 88 They are micro, mega, mini, mono, and multi. 89 90 Exit status 0. 91 #### TEST: agrep -v random < basic.in 92 Foo bar quux. 93 Let's hear an example of correct microphone placing. 94 I suppose for something like that one would use a very large number of microphones. 95 Extraordinary. 96 Take California. 97 A-ding-ing-ng-WROOOOM-ding-ding-boing! 98 They are micro, mega, mini, mono, and multi. 99 100 Exit status 0. 101 #### TEST: agrep -c -v random basic.in 102 7 103 104 Exit status 0. 105 #### TEST: agrep -c -v random < basic.in 106 7 107 108 Exit status 0. 109 #### TEST: agrep -H -v random basic.in 110 basic.in:Foo bar quux. 111 basic.in:Let's hear an example of correct microphone placing. 112 basic.in:I suppose for something like that one would use a very large number of microphones. 113 basic.in:Extraordinary. 114 basic.in:Take California. 115 basic.in:A-ding-ing-ng-WROOOOM-ding-ding-boing! 116 basic.in:They are micro, mega, mini, mono, and multi. 117 118 Exit status 0. 119 #### TEST: agrep -H -v random < basic.in 120 (standard input):Foo bar quux. 121 (standard input):Let's hear an example of correct microphone placing. 122 (standard input):I suppose for something like that one would use a very large number of microphones. 123 (standard input):Extraordinary. 124 (standard input):Take California. 125 (standard input):A-ding-ing-ng-WROOOOM-ding-ding-boing! 126 (standard input):They are micro, mega, mini, mono, and multi. 127 128 Exit status 0. 129 #### TEST: agrep -l -v random basic.in 130 basic.in 131 132 Exit status 0. 133 #### TEST: agrep -l -v random < basic.in 134 (standard input) 135 136 Exit status 0. 137 #### TEST: agrep -n -v random basic.in 138 2:Foo bar quux. 139 3:Let's hear an example of correct microphone placing. 140 4:I suppose for something like that one would use a very large number of microphones. 141 5:Extraordinary. 142 6:Take California. 143 7:A-ding-ing-ng-WROOOOM-ding-ding-boing! 144 8:They are micro, mega, mini, mono, and multi. 145 146 Exit status 0. 147 #### TEST: agrep -n -v random < basic.in 148 2:Foo bar quux. 149 3:Let's hear an example of correct microphone placing. 150 4:I suppose for something like that one would use a very large number of microphones. 151 5:Extraordinary. 152 6:Take California. 153 7:A-ding-ing-ng-WROOOOM-ding-ding-boing! 154 8:They are micro, mega, mini, mono, and multi. 155 156 Exit status 0. 157 #### TEST: agrep -s -v random basic.in 158 0:Foo bar quux. 159 0:Let's hear an example of correct microphone placing. 160 0:I suppose for something like that one would use a very large number of microphones. 161 0:Extraordinary. 162 0:Take California. 163 0:A-ding-ing-ng-WROOOOM-ding-ding-boing! 164 0:They are micro, mega, mini, mono, and multi. 165 166 Exit status 0. 167 #### TEST: agrep -s -v random < basic.in 168 0:Foo bar quux. 169 0:Let's hear an example of correct microphone placing. 170 0:I suppose for something like that one would use a very large number of microphones. 171 0:Extraordinary. 172 0:Take California. 173 0:A-ding-ing-ng-WROOOOM-ding-ding-boing! 174 0:They are micro, mega, mini, mono, and multi. 175 176 Exit status 0. 177 #### TEST: agrep -M -v random basic.in 178 Foo bar quux. 179 Let's hear an example of correct microphone placing. 180 I suppose for something like that one would use a very large number of microphones. 181 Extraordinary. 182 Take California. 183 A-ding-ing-ng-WROOOOM-ding-ding-boing! 184 They are micro, mega, mini, mono, and multi. 185 186 Exit status 0. 187 #### TEST: agrep -M -v random < basic.in 188 Foo bar quux. 189 Let's hear an example of correct microphone placing. 190 I suppose for something like that one would use a very large number of microphones. 191 Extraordinary. 192 Take California. 193 A-ding-ing-ng-WROOOOM-ding-ding-boing! 194 They are micro, mega, mini, mono, and multi. 195 196 Exit status 0. 197 #### TEST: agrep --show-position -v random basic.in 198 0-13:Foo bar quux. 199 0-52:Let's hear an example of correct microphone placing. 200 0-83:I suppose for something like that one would use a very large number of microphones. 201 0-14:Extraordinary. 202 0-16:Take California. 203 0-38:A-ding-ing-ng-WROOOOM-ding-ding-boing! 204 0-44:They are micro, mega, mini, mono, and multi. 205 206 Exit status 0. 207 #### TEST: agrep --show-position -v random < basic.in 208 0-13:Foo bar quux. 209 0-52:Let's hear an example of correct microphone placing. 210 0-83:I suppose for something like that one would use a very large number of microphones. 211 0-14:Extraordinary. 212 0-16:Take California. 213 0-38:A-ding-ing-ng-WROOOOM-ding-ding-boing! 214 0-44:They are micro, mega, mini, mono, and multi. 215 216 Exit status 0. 217 #### TEST: agrep --color -v random basic.in 218 Foo bar quux. 219 Let's hear an example of correct microphone placing. 220 I suppose for something like that one would use a very large number of microphones. 221 Extraordinary. 222 Take California. 223 A-ding-ing-ng-WROOOOM-ding-ding-boing! 224 They are micro, mega, mini, mono, and multi. 225 226 Exit status 0. 227 #### TEST: agrep --color -v random < basic.in 228 Foo bar quux. 229 Let's hear an example of correct microphone placing. 230 I suppose for something like that one would use a very large number of microphones. 231 Extraordinary. 232 Take California. 233 A-ding-ing-ng-WROOOOM-ding-ding-boing! 234 They are micro, mega, mini, mono, and multi. 235 236 Exit status 0. 237 #### TEST: agrep -H -n -s --color --show-position -v random basic.in 238 basic.in:2:0:0-13:Foo bar quux. 239 basic.in:3:0:0-52:Let's hear an example of correct microphone placing. 240 basic.in:4:0:0-83:I suppose for something like that one would use a very large number of microphones. 241 basic.in:5:0:0-14:Extraordinary. 242 basic.in:6:0:0-16:Take California. 243 basic.in:7:0:0-38:A-ding-ing-ng-WROOOOM-ding-ding-boing! 244 basic.in:8:0:0-44:They are micro, mega, mini, mono, and multi. 245 246 Exit status 0. 247 #### TEST: agrep -H -n -s --color --show-position -v random < basic.in 248 (standard input):2:0:0-13:Foo bar quux. 249 (standard input):3:0:0-52:Let's hear an example of correct microphone placing. 250 (standard input):4:0:0-83:I suppose for something like that one would use a very large number of microphones. 251 (standard input):5:0:0-14:Extraordinary. 252 (standard input):6:0:0-16:Take California. 253 (standard input):7:0:0-38:A-ding-ing-ng-WROOOOM-ding-ding-boing! 254 (standard input):8:0:0-44:They are micro, mega, mini, mono, and multi. 255 256 Exit status 0. 257 #### TEST: agrep -i extra basic.in 258 Extraordinary. 259 260 Exit status 0. 261 #### TEST: agrep -i extra < basic.in 262 Extraordinary. 263 264 Exit status 0. 265 #### TEST: agrep -c -i extra basic.in 266 1 267 268 Exit status 0. 269 #### TEST: agrep -c -i extra < basic.in 270 1 271 272 Exit status 0. 273 #### TEST: agrep -H -i extra basic.in 274 basic.in:Extraordinary. 275 276 Exit status 0. 277 #### TEST: agrep -H -i extra < basic.in 278 (standard input):Extraordinary. 279 280 Exit status 0. 281 #### TEST: agrep -l -i extra basic.in 282 basic.in 283 284 Exit status 0. 285 #### TEST: agrep -l -i extra < basic.in 286 (standard input) 287 288 Exit status 0. 289 #### TEST: agrep -n -i extra basic.in 290 5:Extraordinary. 291 292 Exit status 0. 293 #### TEST: agrep -n -i extra < basic.in 294 5:Extraordinary. 295 296 Exit status 0. 297 #### TEST: agrep -s -i extra basic.in 298 0:Extraordinary. 299 300 Exit status 0. 301 #### TEST: agrep -s -i extra < basic.in 302 0:Extraordinary. 303 304 Exit status 0. 305 #### TEST: agrep -M -i extra basic.in 306 Extraordinary. 307 308 Exit status 0. 309 #### TEST: agrep -M -i extra < basic.in 310 Extraordinary. 311 312 Exit status 0. 313 #### TEST: agrep --show-position -i extra basic.in 314 0-5:Extraordinary. 315 316 Exit status 0. 317 #### TEST: agrep --show-position -i extra < basic.in 318 0-5:Extraordinary. 319 320 Exit status 0. 321 #### TEST: agrep --color -i extra basic.in 322 [01;31mExtra[00mordinary. 323 324 Exit status 0. 325 #### TEST: agrep --color -i extra < basic.in 326 [01;31mExtra[00mordinary. 327 328 Exit status 0. 329 #### TEST: agrep -H -n -s --color --show-position -i extra basic.in 330 basic.in:5:0:0-5:[01;31mExtra[00mordinary. 331 332 Exit status 0. 333 #### TEST: agrep -H -n -s --color --show-position -i extra < basic.in 334 (standard input):5:0:0-5:[01;31mExtra[00mordinary. 335 336 Exit status 0. 337 #### TEST: agrep -e -ding basic.in 338 A-ding-ing-ng-WROOOOM-ding-ding-boing! 339 340 Exit status 0. 341 #### TEST: agrep -e -ding < basic.in 342 A-ding-ing-ng-WROOOOM-ding-ding-boing! 343 344 Exit status 0. 345 #### TEST: agrep -c -e -ding basic.in 346 1 347 348 Exit status 0. 349 #### TEST: agrep -c -e -ding < basic.in 350 1 351 352 Exit status 0. 353 #### TEST: agrep -H -e -ding basic.in 354 basic.in:A-ding-ing-ng-WROOOOM-ding-ding-boing! 355 356 Exit status 0. 357 #### TEST: agrep -H -e -ding < basic.in 358 (standard input):A-ding-ing-ng-WROOOOM-ding-ding-boing! 359 360 Exit status 0. 361 #### TEST: agrep -l -e -ding basic.in 362 basic.in 363 364 Exit status 0. 365 #### TEST: agrep -l -e -ding < basic.in 366 (standard input) 367 368 Exit status 0. 369 #### TEST: agrep -n -e -ding basic.in 370 7:A-ding-ing-ng-WROOOOM-ding-ding-boing! 371 372 Exit status 0. 373 #### TEST: agrep -n -e -ding < basic.in 374 7:A-ding-ing-ng-WROOOOM-ding-ding-boing! 375 376 Exit status 0. 377 #### TEST: agrep -s -e -ding basic.in 378 0:A-ding-ing-ng-WROOOOM-ding-ding-boing! 379 380 Exit status 0. 381 #### TEST: agrep -s -e -ding < basic.in 382 0:A-ding-ing-ng-WROOOOM-ding-ding-boing! 383 384 Exit status 0. 385 #### TEST: agrep -M -e -ding basic.in 386 A-ding-ing-ng-WROOOOM-ding-ding-boing! 387 388 Exit status 0. 389 #### TEST: agrep -M -e -ding < basic.in 390 A-ding-ing-ng-WROOOOM-ding-ding-boing! 391 392 Exit status 0. 393 #### TEST: agrep --show-position -e -ding basic.in 394 1-6:A-ding-ing-ng-WROOOOM-ding-ding-boing! 395 396 Exit status 0. 397 #### TEST: agrep --show-position -e -ding < basic.in 398 1-6:A-ding-ing-ng-WROOOOM-ding-ding-boing! 399 400 Exit status 0. 401 #### TEST: agrep --color -e -ding basic.in 402 A[01;31m-ding[00m-ing-ng-WROOOOM-ding-ding-boing! 403 404 Exit status 0. 405 #### TEST: agrep --color -e -ding < basic.in 406 A[01;31m-ding[00m-ing-ng-WROOOOM-ding-ding-boing! 407 408 Exit status 0. 409 #### TEST: agrep -H -n -s --color --show-position -e -ding basic.in 410 basic.in:7:0:1-6:A[01;31m-ding[00m-ing-ng-WROOOOM-ding-ding-boing! 411 412 Exit status 0. 413 #### TEST: agrep -H -n -s --color --show-position -e -ding < basic.in 414 (standard input):7:0:1-6:A[01;31m-ding[00m-ing-ng-WROOOOM-ding-ding-boing! 415 416 Exit status 0. 417 #### TEST: agrep -w micro basic.in 418 They are micro, mega, mini, mono, and multi. 419 420 Exit status 0. 421 #### TEST: agrep -w micro < basic.in 422 They are micro, mega, mini, mono, and multi. 423 424 Exit status 0. 425 #### TEST: agrep -c -w micro basic.in 426 1 427 428 Exit status 0. 429 #### TEST: agrep -c -w micro < basic.in 430 1 431 432 Exit status 0. 433 #### TEST: agrep -H -w micro basic.in 434 basic.in:They are micro, mega, mini, mono, and multi. 435 436 Exit status 0. 437 #### TEST: agrep -H -w micro < basic.in 438 (standard input):They are micro, mega, mini, mono, and multi. 439 440 Exit status 0. 441 #### TEST: agrep -l -w micro basic.in 442 basic.in 443 444 Exit status 0. 445 #### TEST: agrep -l -w micro < basic.in 446 (standard input) 447 448 Exit status 0. 449 #### TEST: agrep -n -w micro basic.in 450 8:They are micro, mega, mini, mono, and multi. 451 452 Exit status 0. 453 #### TEST: agrep -n -w micro < basic.in 454 8:They are micro, mega, mini, mono, and multi. 455 456 Exit status 0. 457 #### TEST: agrep -s -w micro basic.in 458 0:They are micro, mega, mini, mono, and multi. 459 460 Exit status 0. 461 #### TEST: agrep -s -w micro < basic.in 462 0:They are micro, mega, mini, mono, and multi. 463 464 Exit status 0. 465 #### TEST: agrep -M -w micro basic.in 466 They are micro, mega, mini, mono, and multi. 467 468 Exit status 0. 469 #### TEST: agrep -M -w micro < basic.in 470 They are micro, mega, mini, mono, and multi. 471 472 Exit status 0. 473 #### TEST: agrep --show-position -w micro basic.in 474 9-14:They are micro, mega, mini, mono, and multi. 475 476 Exit status 0. 477 #### TEST: agrep --show-position -w micro < basic.in 478 9-14:They are micro, mega, mini, mono, and multi. 479 480 Exit status 0. 481 #### TEST: agrep --color -w micro basic.in 482 They are [01;31mmicro[00m, mega, mini, mono, and multi. 483 484 Exit status 0. 485 #### TEST: agrep --color -w micro < basic.in 486 They are [01;31mmicro[00m, mega, mini, mono, and multi. 487 488 Exit status 0. 489 #### TEST: agrep -H -n -s --color --show-position -w micro basic.in 490 basic.in:8:0:9-14:They are [01;31mmicro[00m, mega, mini, mono, and multi. 491 492 Exit status 0. 493 #### TEST: agrep -H -n -s --color --show-position -w micro < basic.in 494 (standard input):8:0:9-14:They are [01;31mmicro[00m, mega, mini, mono, and multi. 495 496 Exit status 0. 497