summaryrefslogtreecommitdiffstats
path: root/usr.bin/find
diff options
context:
space:
mode:
authorissyl0 <issyl0@FreeBSD.org>2012-06-10 22:14:52 +0000
committerissyl0 <issyl0@FreeBSD.org>2012-06-10 22:14:52 +0000
commit352ba3f296a83577cf0ac22ec5a8489a433ec1ae (patch)
treebaf9aa75e6e79e9a85d5d1a08dbb5820e19a59f8 /usr.bin/find
parentf4a0f109b8cedd1f226525ec94e4ad8dc2580c65 (diff)
downloadFreeBSD-src-352ba3f296a83577cf0ac22ec5a8489a433ec1ae.zip
FreeBSD-src-352ba3f296a83577cf0ac22ec5a8489a433ec1ae.tar.gz
Add more description and clarification about the -depth and -d options in
both places where they are mentioned in find(1). Discussed with: dougb PR: docs/168885 Reported by: Ronald F. Guilmette (rfg at tristatelogic dot com) Approved by: gabor (mentor) MFC after: 3 days
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 f06418e..5a1085c 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -136,7 +136,7 @@ Note, the default is
.Em not
a breadth-first traversal.
.Pp
-This option is equivalent to the
+This option is the BSD-specific equivalent of the
.Ic -depth
primary of
.St -p1003.1-2001 .
@@ -301,7 +301,7 @@ Please refer to the
.Ic -atime
primary description for information on supported time units.
.It Ic -d
-Same as
+Non-portable, BSD-specific version of
.Ic depth .
GNU find implements this as a primary in mistaken emulation of
.Fx
@@ -325,9 +325,10 @@ primary will fail to delete a directory if it is not empty.
Following symlinks is incompatible with this option.
.It Ic -depth
Always true;
-same as the
+same as the non-portable
.Fl d
-option.
+option. Refer to the primary description of
+.Ic -depth for full information.
.It Ic -depth Ar n
True if the depth of the file relative to the starting point of the traversal
is
OpenPOWER on IntegriCloud