aboutsummaryrefslogtreecommitdiff
path: root/man/grab.1
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-22 19:39:37 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-22 19:39:37 +0100
commite8d13a2ab6f23e46b56e0b476ca534dbe35ffa59 (patch)
tree8b60e1dc78f754b3cc4542e1bde2f1395daf6425 /man/grab.1
parentfdbba957a4eafaa7b601ef24e8b27a6859264e4f (diff)
Document the h// and H// operators
Diffstat (limited to 'man/grab.1')
-rw-r--r--man/grab.15
1 files changed, 5 insertions, 0 deletions
diff --git a/man/grab.1 b/man/grab.1
index 7cc913d..7cb05f0 100644
--- a/man/grab.1
+++ b/man/grab.1
@@ -178,11 +178,16 @@ and then terminated by the same delimiter. The last command of a pattern
need not have a terminating delimiter.
.Pp
The supported operators are as follows:
+.Pp
.Bl -tag -compact
.It g
Keep selections that match the given regex.
.It G
Discard selections that match the given regex.
+.It h
+Highlight everything that matches the given regex.
+.It H
+Highlight everything that doesn’t match the given regex.
.It x
Select everything that matches the given regex.
.It X