From 002ad87aa7adc7e2bfdddec6f860883ead13ad2a Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 24 Jun 2003 04:43:54 +0000 Subject: clarify operation of -f. spotted by jmc@, new text by James Howard --- usr.bin/grep/grep.1 | 11 ++++------- 1 file 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 -- cgit v1.2.3