summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHelge Kreutzmann <debian@helgefjell.de>2020-12-23 08:41:22 -0800
committerJim Meyering <meyering@fb.com>2020-12-23 10:46:29 -0800
commit91ce9cdad384cb6d774e9884707c7f00946d909d (patch)
tree9b915334c8555a565f01248ecaeeb2cdd3e13002 /doc
parent192e59903c7d313bb47de3d5c15b3dc634e98c5f (diff)
downloadgrep-91ce9cdad384cb6d774e9884707c7f00946d909d.tar.gz
doc: adjust man page syntax
* doc/grep.in.1: Mark some manual names with B<...>. Mark PATTERNS with I<...>. Drop final period in SEE ALSO. With suggestions from of several members of the manpage-l10n translation community. This resolves https://bugs.gnu.org/45353
Diffstat (limited to 'doc')
-rw-r--r--doc/grep.in.110
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/grep.in.1 b/doc/grep.in.1
index c56c4040..3bd31310 100644
--- a/doc/grep.in.1
+++ b/doc/grep.in.1
@@ -225,7 +225,7 @@ as basic regular expressions (BREs, see below).
This is the default.
.TP
.BR \-P ", " \-\^\-perl\-regexp
-Interpret PATTERNS as Perl-compatible regular expressions (PCREs).
+Interpret I<PATTERNS> as Perl-compatible regular expressions (PCREs).
This option is experimental when combined with the
.B \-z
.RB ( \-\^\-null\-data )
@@ -695,7 +695,7 @@ options match, a file is included unless the first such option is
.BR \-r ", " \-\^\-recursive
Read all files under each directory, recursively,
following symbolic links only if they are on the command line.
-Note that if no file operand is given, grep searches the working directory.
+Note that if no file operand is given, B<grep> searches the working directory.
This is equivalent to the
.B "\-d recurse"
option.
@@ -761,8 +761,8 @@ In other implementations, basic regular expressions are less powerful.
The following description applies to extended regular expressions;
differences for basic regular expressions are summarized afterwards.
Perl-compatible regular expressions give additional functionality, and are
-documented in pcresyntax(3) and pcrepattern(3), but work only if
-PCRE is available in the system.
+documented in B<pcresyntax>(3) and B<pcrepattern>(3), but work only if
+PCRE support is enabled.
.PP
The fundamental building blocks are the regular expressions
that match a single character.
@@ -1370,7 +1370,7 @@ from the globbing syntax that the shell uses to match file names.
.BR pcrepattern (3),
.BR terminfo (5),
.BR glob (7),
-.BR regex (7).
+.BR regex (7)
.SS "Full Documentation"
A
.UR https://www.gnu.org/software/grep/manual/