Package: grep
Version: 2.5.1.ds2-4
Severity: minor
Tags: patch

-F and -x are useful, but it would be very helpful if there were some
more discussion about their behaviour.  Please consider this patch.

--- -   2007-02-15 20:23:33.497183690 -0500
+++ /tmp/grep.1 2007-02-15 20:23:08.000000000 -0500
@@ -193,7 +193,7 @@
 .BR \-F ", " \-\^\-fixed-strings
 Interpret
 .I PATTERN
-as a list of fixed strings, separated by newlines,
+as a list of fixed strings (rather than regular expressions), separated by 
newlines,
 any of which is to be matched.
 .TP
 .BI \-f " FILE" "\fR,\fP \-\^\-file=" FILE
@@ -408,6 +408,7 @@
 .TP
 .BR \-x ", " \-\^\-line-regexp
 Select only those matches that exactly match the whole line.
+This option has the same effect as anchoring the expression with ^ and $.
 .TP
 .B \-y
 Obsolete synonym for
@@ -772,7 +773,7 @@
 when
 .B POSIXLY_CORRECT
 is not set.
-.SH DIAGNOSTICS
+.SH "EXIT STATUS"
 .PP
 Normally, exit status is 0 if selected lines are found and 1 otherwise.
 But the exit status is 2 if an error occurred, unless the


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to