aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-21 00:40:37 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-21 00:40:37 +0100
commitaf4c619575b3ab268d90fdff4eabf8a5f4da1db6 (patch)
treef09dffa212f7041cb40e476117ea57d9ce11ce71 /man
parent60c04c1eccc894abe1498c883f937354f8237a57 (diff)
Print byte-offsets into files
Diffstat (limited to 'man')
-rw-r--r--man/grab.15
1 files changed, 4 insertions, 1 deletions
diff --git a/man/grab.1 b/man/grab.1
index e73307b..b2d3edd 100644
--- a/man/grab.1
+++ b/man/grab.1
@@ -212,6 +212,9 @@ The keys are as follows:
.Bl -tag -compact
.It fn
filenames prefixing any content line.
+.It ln
+line- and column-numbers,
+as well as byte offsets when reporting the location of a match.
.It ma
text matched by a
.Sq g
@@ -223,7 +226,7 @@ separators inserted between filenames and content lines.
.El
.Pp
The default value is
-.Sq fn=35,ma=01;31,se=36
+.Sq fn=35,ln=32,ma=01;31,se=36
.It Ev NO_COLOR
Do not display any colored output when set to a non-empty string,
even if the standard-output is a terminal.