diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2004-04-17 20:10:56 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2004-04-17 20:10:56 +0000 |
commit | c411842d2ce323e72aa3228f062fa891596e0aa7 (patch) | |
tree | d0927cf1e74fc6ffe577a95b2ad1b640ed0a9eb0 /usr.bin/grep | |
parent | e5e5d02ba273712e7773039f5f298126f6492996 (diff) |
-w uses [[:<:]] and [[:>:]], not \< and \>,
and it's documented in re_format(7), not ex(1);
from jared yanovich;
ok beck@
Diffstat (limited to 'usr.bin/grep')
-rw-r--r-- | usr.bin/grep/grep.1 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1 index e65035bdec1..e7523ebeda6 100644 --- a/usr.bin/grep/grep.1 +++ b/usr.bin/grep/grep.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: grep.1,v 1.25 2004/04/03 10:45:11 jmc Exp $ +.\" $OpenBSD: grep.1,v 1.26 2004/04/17 20:10:55 jmc Exp $ .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -205,9 +205,9 @@ Selected lines are those .Em not matching any of the specified patterns. .It Fl w -The expression is searched for as a word (as if surrounded by `\e<' -and `\e>', see -.Xr ex 1 ) . +The expression is searched for as a word (as if surrounded by `[[:<:]]' +and `[[:>:]]', see +.Xr re_format 7 ) . .It Fl x Only input lines selected against an entire fixed string or regular expression are considered to be matching lines. |