summaryrefslogtreecommitdiff
path: root/tests/agrep/records.args
diff options
context:
space:
mode:
Diffstat (limited to 'tests/agrep/records.args')
-rw-r--r--tests/agrep/records.args9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/agrep/records.args b/tests/agrep/records.args
new file mode 100644
index 0000000000000..b3c5e522c41c0
--- /dev/null
+++ b/tests/agrep/records.args
@@ -0,0 +1,9 @@
+# Find words which contain the letter 'a'.
+-d \s+ a
+# Find words which contain a capital letter.
+-d \s+ [A-Z]
+# Find sentences which contain certain words.
+-d \.\s+ -M error
+-d \.\s+ -M default
+# Find paragraphs which contain "PATTERN".
+-d \n\n -M PATTERN