aboutsummaryrefslogtreecommitdiff
path: root/tests/19-negation.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/19-negation.sh')
-rw-r--r--tests/19-negation.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/19-negation.sh b/tests/19-negation.sh
new file mode 100644
index 0000000..2928df1
--- /dev/null
+++ b/tests/19-negation.sh
@@ -0,0 +1,3 @@
+# !pat matches only if pat doesn't match
+# Example: bp -p '"cat" !"aclysm"' matches the "cat" in "catatonic", but not "cataclysm"
+bp -p '"foo" !"bar"'