summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2019-12-03 08:48:49 +0000
committerkn <kn@openbsd.org>2019-12-03 08:48:49 +0000
commitef8fff594e0310ebfc7e743727730939a32db2cc (patch)
tree55065f48ef6b10ad8da39e152133aad3c1f63459
parentFix typo: ECHD -> ECDH. (diff)
downloadwireguard-openbsd-ef8fff594e0310ebfc7e743727730939a32db2cc.tar.xz
wireguard-openbsd-ef8fff594e0310ebfc7e743727730939a32db2cc.zip
Document implicit "." default file for -R
OK visa deraadt
Diffstat (limited to '')
-rw-r--r--usr.bin/grep/grep.19
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1
index 9f0d8a262fc..5cc228df222 100644
--- a/usr.bin/grep/grep.1
+++ b/usr.bin/grep/grep.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: grep.1,v 1.49 2019/10/07 20:51:34 tedu Exp $
+.\" $OpenBSD: grep.1,v 1.50 2019/12/03 08:48:49 kn Exp $
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -28,7 +28,7 @@
.\"
.\" @(#)grep.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: October 7 2019 $
+.Dd $Mdocdate: December 3 2019 $
.Dt GREP 1
.Os
.Sh NAME
@@ -246,6 +246,11 @@ will only search a file until a match has been found,
making searches potentially less expensive.
.It Fl R
Recursively search subdirectories listed.
+If no
+.Ar file
+is given,
+.Nm
+searches the current working directory.
.It Fl s
Silent mode.
Nonexistent and unreadable files are ignored