aboutsummaryrefslogtreecommitdiff
path: root/man/grab.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/grab.1')
-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.