aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/string.out
diff options
context:
space:
mode:
authorGravatar Aaron Gyes <me@aaron.gy>2016-04-08 10:18:58 +0800
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2016-04-08 10:49:29 +0800
commit790c7f80c7d0fa1c97380885201eb50a2abcce02 (patch)
tree71e525e03cb4dee3a0be8f18fd76ac35c0e2a7f9 /tests/string.out
parent155befe90e2e9e2ab022e81f5f3661bed3c8c9e9 (diff)
Implement an --invert/-v for string match, like grep -v.
Only lines that do not match the pattern are shown.
Diffstat (limited to 'tests/string.out')
-rw-r--r--tests/string.out17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/string.out b/tests/string.out
index 45ccb369..bd3fff45 100644
--- a/tests/string.out
+++ b/tests/string.out
@@ -1,3 +1,18 @@
+dog
+diz
+exit 0
+exit 0
+dog
+diz
+exit 0
+exit 0
+exit 1
+exit 1
+y
+exit 0
+exit 1
+exit 0
+exit 1
12
ab
bc
@@ -45,3 +60,5 @@ aabb
invalid expression error
invalid argument error
missing argument returns 0
+no regexp invert match
+no glob invert match