aboutsummaryrefslogtreecommitdiff
path: root/tests/06-start-of-line.sh
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2022-04-09 14:24:06 -0400
committerBruce Hill <bruce@bruce-hill.com>2022-04-09 14:24:06 -0400
commitf33e2e1ec9aef252952565644f6ebe02065f1943 (patch)
tree80af7346b480d9e860e865fe63bc713ba1514b37 /tests/06-start-of-line.sh
parent49dddd713ef2cb390edfeddb5cb7b0fe507fafb5 (diff)
Added leading zeroes
Diffstat (limited to 'tests/06-start-of-line.sh')
-rw-r--r--tests/06-start-of-line.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/06-start-of-line.sh b/tests/06-start-of-line.sh
new file mode 100644
index 0000000..c44000e
--- /dev/null
+++ b/tests/06-start-of-line.sh
@@ -0,0 +1,3 @@
+# ^ matches start of a line
+# Example: bp -p '^ "x"' matches lines starting with "x"
+bp -p '^ "foo"'