Lasse Collin | 4244b65 | 2014-06-13 18:58:22 +0300 | [diff] [blame] | 1 | => xzgrep el <= |
| 2 | xzgrep_test_1.xz:elit, sed do eiusmod tempor incididunt ut |
| 3 | xzgrep_test_1.xz:in voluptate velit esse cillum dolore eu |
| 4 | xzgrep_test_2.xz:Hello |
| 5 | retval 0 |
| 6 | => xzgrep -l el <= |
| 7 | xzgrep_test_1.xz |
| 8 | xzgrep_test_2.xz |
| 9 | retval 0 |
| 10 | => xzgrep -h el <= |
| 11 | elit, sed do eiusmod tempor incididunt ut |
| 12 | in voluptate velit esse cillum dolore eu |
| 13 | Hello |
| 14 | retval 0 |
| 15 | => xzgrep -H el <= |
| 16 | xzgrep_test_1.xz:elit, sed do eiusmod tempor incididunt ut |
| 17 | xzgrep_test_1.xz:in voluptate velit esse cillum dolore eu |
| 18 | xzgrep_test_2.xz:Hello |
| 19 | retval 0 |
| 20 | => xzgrep Hello <= |
| 21 | xzgrep_test_2.xz:Hello |
| 22 | retval 0 |
| 23 | => xzgrep -l Hello <= |
| 24 | xzgrep_test_2.xz |
| 25 | retval 0 |
| 26 | => xzgrep -h Hello <= |
| 27 | Hello |
| 28 | retval 0 |
| 29 | => xzgrep -H Hello <= |
| 30 | xzgrep_test_2.xz:Hello |
| 31 | retval 0 |
| 32 | => xzgrep NOMATCH <= |
| 33 | retval 1 |
| 34 | => xzgrep -l NOMATCH <= |
| 35 | retval 1 |
| 36 | => xzgrep -h NOMATCH <= |
| 37 | retval 1 |
| 38 | => xzgrep -H NOMATCH <= |
| 39 | retval 1 |