Date: Sun, 10 Jun 2012 22:14:53 +0000 (UTC) From: Isabell Long <issyl0@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r236860 - head/usr.bin/find Message-ID: <201206102214.q5AMErBQ024480@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: issyl0 (doc committer) Date: Sun Jun 10 22:14:52 2012 New Revision: 236860 URL: http://svn.freebsd.org/changeset/base/236860 Log: 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 Modified: head/usr.bin/find/find.1 Modified: head/usr.bin/find/find.1 ============================================================================== --- head/usr.bin/find/find.1 Sun Jun 10 20:24:01 2012 (r236859) +++ head/usr.bin/find/find.1 Sun Jun 10 22:14:52 2012 (r236860) @@ -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 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206102214.q5AMErBQ024480>