summaryrefslogtreecommitdiff
path: root/usr.bin/find
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2017-01-03 22:19:32 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2017-01-03 22:19:32 +0000
commitabe7da40fe612f7c0506158bd5426166cba79fb2 (patch)
treec17eb80af9788fa27df80f685b8f3fe051d328d3 /usr.bin/find
parent8c9c983b1fe5cb9a8666ec1a0976d2945f5d07bd (diff)
tweak previous;
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/find.19
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index fc1497568d5..7466b607abf 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: find.1,v 1.92 2017/01/03 21:31:16 tedu Exp $
+.\" $OpenBSD: find.1,v 1.93 2017/01/03 22:19:31 jmc Exp $
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -183,22 +183,23 @@ was started, rounded up to the next full 24-hour period, is
24-hour periods.
.Pp
.It Ic -delete
-Delete found files and/or directories.
+Delete found files and directories.
Always returns true.
This executes
from the current working directory as
.Nm
recurses down the tree.
It will not attempt to delete a filename with a
-.Dq Pa /
+.Sq Pa /
character in its pathname relative to
-.Dq Pa \&.
+.Sq Pa \&.
for security reasons.
Depth-first traversal processing is implied by this option.
The
.Ic -delete
primary will fail to delete a directory if it is not empty.
Following symlinks is incompatible with this option.
+.Pp
.It Ic -depth
This primary always evaluates to true.
The same as specifying the