aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2026-03-28 15:23:54 +0100
committerThomas Voss <mail@thomasvoss.com> 2026-03-28 15:23:54 +0100
commitbcbc68ae62de6049617c3bc583d7f988e6ad1a82 (patch)
tree6332e1ed6be3f20cce2342ccf252d916ee9bb4b6
parent899b05b9c59987ab77c992f6c3a21c0f3e24a82c (diff)
Use the correct quotation marks in manpagesHEADv3.1.0master
-rw-r--r--man/grab.110
1 files changed, 5 insertions, 5 deletions
diff --git a/man/grab.1 b/man/grab.1
index 46826b2..2ec2ecf 100644
--- a/man/grab.1
+++ b/man/grab.1
@@ -297,12 +297,12 @@ A fatal error occured.
.Sh EXAMPLES
List all your systems CPU flags, sorted and without duplicates:
.Pp
-.Dl $ grab 'x/^flags.*?$/ x/\ew+/ G/^flags$/' </proc/cpuinfo | sort -u
+.Dl $ grab \(aqx/^flags.*?$/ x/\ew+/ G/^flags$/\(aq </proc/cpuinfo | sort -u
.Pp
Search for a pattern in multiple files without printing filenames or
position information:
.Pp
-.Dl $ cat file1 file2 file3 | grab 'x/pattern/'
+.Dl $ cat file1 file2 file3 | grab \(aqx/pattern/\(aq
.Pp
Search for usages of an
.Ql <hb\-form\-text>
@@ -312,13 +312,13 @@ but only those which are being passed a
property —
searching all files in the current git-repository:
.Pp
-.Dl $ git grab 'x/<hb\-form\-text.*?>/ g/\ebplaceholder\eb/' '*.vue'
+.Dl $ git grab \(aqx/<hb\-form\-text.*?>/ g/\ebplaceholder\eb/\(aq \(aq*.vue\(aq
.Pp
Extract bibliographic references from
.Xr mdoc 7
formatted manual pages:
.Pp
-.Dl $ grab 'x/(^\e.%.*?\en)+/' foo.1 bar.1
+.Dl $ grab \(aqx/(^\e.%.*?\en)+/\(aq foo.1 bar.1
.Sh SEE ALSO
.Xr git 1 ,
.Xr grep 1 ,
@@ -351,4 +351,4 @@ The
option has incredibly poor performance compared to the
.Fl b
option,
-especially with very large inputs. \ No newline at end of file
+especially with very large inputs.