summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2004-04-17 20:10:55 +0000
committerjmc <jmc@openbsd.org>2004-04-17 20:10:55 +0000
commit5d28aa810f20036269a52c14d154cf6c4310cfc8 (patch)
treeff1e03d59e79a91060e420422d9711364f3ccfa1
parentno no no nobody, _tftpd is better, theo ok (diff)
downloadwireguard-openbsd-5d28aa810f20036269a52c14d154cf6c4310cfc8.tar.xz
wireguard-openbsd-5d28aa810f20036269a52c14d154cf6c4310cfc8.zip
-w uses [[:<:]] and [[:>:]], not \< and \>,
and it's documented in re_format(7), not ex(1); from jared yanovich; ok beck@
-rw-r--r--usr.bin/grep/grep.18
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.