summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-06-24 04:43:54 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-06-24 04:43:54 +0000
commit002ad87aa7adc7e2bfdddec6f860883ead13ad2a (patch)
tree5d8d48245a1f3e623f7906e9c9e48aec1090ae1f /usr.bin
parent4b72c5ffcbc02b70eb7bc4bb365703218d3d8a3c (diff)
clarify operation of -f. spotted by jmc@, new text by James Howard
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/grep/grep.111
1 files changed, 4 insertions, 7 deletions
diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1
index c1e168346da..c038bbd2e61 100644
--- a/usr.bin/grep/grep.1
+++ b/usr.bin/grep/grep.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: grep.1,v 1.12 2003/06/23 18:14:33 tedu Exp $
+.\" $OpenBSD: grep.1,v 1.13 2003/06/24 04:43:53 tedu Exp $
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -166,12 +166,9 @@ Multiple
options can be used to specify multiple patterns; an input line is
selected if it matches any of the specified patterns.
.It Fl f Ar pattern_file
-The pattern is read from the specified file.
-Trailing newlines in the pattern file are ignored.
-.Pf ( Nm Egrep
-and
-.Nm fgrep
-only).
+Read one or more newline separated patterns from
+.Ar pattern_file .
+Newlines are not considered part of a pattern.
.It Fl h
Never print filename headers with output lines.
.It Fl i