diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-01-21 03:25:25 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-01-21 03:25:25 +0100 |
commit | 5c927d7663bf6625222a562d99a31baa1228335d (patch) | |
tree | 0ae5dab7ae9688833732cf9ac4a01f17173cddab /man/grab.1 | |
parent | 4f93f935dc7a981ca073a322425c3f5929ffb644 (diff) |
Document -b/--byte-offset
Diffstat (limited to 'man/grab.1')
-rw-r--r-- | man/grab.1 | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -1,4 +1,4 @@ -.Dd January 18 2024 +.Dd January 21 2024 .Dt GRAB 1 .Os .Sh NAME @@ -7,7 +7,7 @@ .Sh SYNOPSIS .Nm .Op Fl s | z -.Op Fl cfnU +.Op Fl bcfnU .Ar pattern .Op Ar .Nm @@ -15,7 +15,7 @@ .Pp .Nm "git grab" .Op Fl s | z -.Op Fl cnU +.Op Fl bcnU .Ar pattern .Op Ar glob ... .Nm "git grab" @@ -79,6 +79,13 @@ options. .Pp The options are as follows: .Bl -tag -width Ds +.It Fl b , Fl Fl byte\-offset +Report the positions of pattern matches using the byte offset/position in +the file instead of the line and column. +.Pp +This option is useful if your text editor +.Pq such as Xr vim 1 or Xr emacs 1 +supports jumping directly to a given byte offset/position. .It Fl c , Fl Fl color Force colored output, even if the output device is not a TTY. |