doc__grep.1.diff   [plain text]

--- doc/grep.1.orig	2008-03-20 15:47:50.000000000 -0700
+++ doc/grep.1	2008-03-20 15:48:05.000000000 -0700
@@ -191,10 +191,6 @@
 as a list of fixed strings, separated by newlines,
 any of which is to be matched.
-.BR \-P ", " \-\^\-perl-regexp
-as a Perl regular expression.
 .BI \-f " FILE" "\fR,\fP \-\^\-file=" FILE
 Obtain patterns from
@@ -302,8 +298,13 @@
 This is especially useful for tools like zgrep, e.g.
 .B "gzip -cd foo.gz |grep --label=foo something"
-.BR \-\^\-line-buffering
-Use line buffering, it can be a performance penality.
+.BR \-\^\-line-buffered
+Turns on line buffering. However, this can be a performance penalty.
+.BR \-P ", " \-\^\-perl-regexp
+as a Perl regular expression.
 .BR \-q ", " \-\^\-quiet ", " \-\^\-silent
 Quiet; do not write anything to standard output.
@@ -649,6 +650,10 @@
 instead of reporting a syntax error in the regular expression.
 \s-1POSIX.2\s0 allows this behavior as an extension, but portable scripts
 should avoid it.
+For more information see
+.IR "re_format" (7).
 Grep's behavior is affected by the following environment variables.