Looking for something that's easy to fix, I came across
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=190551:
'egrep' and 'fgrep' are mistakenly spelled 'Egrep' and 'Fgrep' in
the manpage.
The first part of that patch I've reproduced here, the second part
("Grep" in the headers of the info page) isn't needed in my
opinion, as those headers aren't part of the running text.
But the info page does contain a different mistake, spelling 'egrep'
and 'fgrep' in all caps. Attached patches correct these errors.
Also, in 'info grep usage', point 13 is... incomprehensible.
And point 14 would read better as: ''The word "grep" comes from ...
uses the following syntax ... the screen:''
Benno
--- grep.1.orig 2005-09-30 16:09:27.000000000 +0200
+++ grep.1 2005-11-06 16:30:22.000000000 +0100
@@ -32,7 +32,7 @@
.RI [ FILE .\|.\|.]
.SH DESCRIPTION
.PP
-.B Grep
+.B grep
searches the named input
.IR FILE s
(or standard input if no files are named, or
@@ -49,11 +49,11 @@
.B egrep
and
.B fgrep
-are available.
-.B Egrep
+are available;
+.B egrep
is the same as
-.BR "grep\ \-E" .
-.B Fgrep
+.BR "grep\ \-E" ;
+.B fgrep
is the same as
.BR "grep\ \-F" .
.SH OPTIONS
@@ -461,7 +461,7 @@
Regular expressions are constructed analogously to arithmetic
expressions, by using various operators to combine smaller expressions.
.PP
-.B Grep
+.B grep
understands two different versions of regular expression syntax:
\*(lqbasic\*(rq and \*(lqextended.\*(rq In
.RB "\s-1GNU\s0\ " grep ,
@@ -680,7 +680,9 @@
\s-1POSIX.2\s0 allows this behavior as an extension, but portable scripts
should avoid it.
.SH "ENVIRONMENT VARIABLES"
-Grep's behavior is affected by the following environment variables.
+The behavior of
+.B grep
+is affected by the following environment variables.
.PP
A locale
.BI LC_ foo
--- grep.texi.orig 2005-09-03 21:13:20.000000000 +0200
+++ grep.texi 2005-11-06 16:43:26.000000000 +0100
@@ -749,8 +749,8 @@
@end table
-In addition, two variant programs @sc{egrep} and @sc{fgrep} are available.
[EMAIL PROTECTED] is the same as @samp{grep -E}. @sc{fgrep} is the
+In addition, two variant programs @command{egrep} and @command{fgrep} are available;
[EMAIL PROTECTED] is the same as @samp{grep -E}; @command{fgrep} is the
same as @samp{grep -F}.
@node Regular Expressions