summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-04-21 00:42:55 +0000
committerdes <des@FreeBSD.org>2004-04-21 00:42:55 +0000
commit2416b781f7874ac52ad037b3a424fa08e3970b33 (patch)
tree1401ff6d6f193d9266cc4fd8c9b281dffa2c9413 /usr.bin
parentb74ccf7ef7d37727256c8980f3c7e8d545d6db63 (diff)
downloadFreeBSD-src-2416b781f7874ac52ad037b3a424fa08e3970b33.zip
FreeBSD-src-2416b781f7874ac52ad037b3a424fa08e3970b33.tar.gz
Clarify and correct some compatibility notes.
PR: 65822
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/find/find.131
1 files changed, 22 insertions, 9 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index 194188a..9da0669 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -82,9 +82,6 @@ If the referenced file does not exist, the file information and type will
be for the link itself.
File information of all symbolic links not on
the command line is that of the link itself.
-This is a suitable replacement for the archaic
-.Ic -follow
-option.
.It Fl L
Cause the file information and file type (see
.Xr stat 2 )
@@ -92,6 +89,10 @@ returned for each symbolic link to be those of the file referenced by the
link, not the link itself.
If the referenced file does not exist, the file information and type will
be for the link itself.
+.Pp
+This option is equivalent to the deprecated
+.Ic -follow
+primary.
.It Fl P
Cause the file information and file type (see
.Xr stat 2 )
@@ -131,6 +132,10 @@ visits directories in pre\-order, i.e., before their contents.
Note, the default is
.Em not
a breadth\-first traversal.
+.Pp
+This option is equivalent to the deprecated
+.Ic -depth
+primary.
.It Fl f
Specify a file hierarchy for
.Nm
@@ -152,6 +157,10 @@ Prevent
.Nm
from descending into directories that have a device number different
than that of the file from which the descent began.
+.Pp
+This option is equivalent to the deprecated
+.Ic -xdev
+primary.
.El
.Sh PRIMARIES
.Bl -tag -width indent
@@ -747,9 +756,12 @@ command to print out a list of all the files.
.Sh COMPATIBILITY
The
.Ic -follow
-option has been deprecated;
-.Fl H
-is considered to be a suitable replacement.
+primary is deprecated; the
+.Fl L
+option should be used instead.
+See the
+.Sx STANDARDS
+section below for details.
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr chmod 1 ,
@@ -781,7 +793,7 @@ primaries are extensions to
.St -p1003.2 .
.Pp
Historically, the
-.Fl d , H
+.Fl d , L
and
.Fl x
options were implemented using the primaries
@@ -823,10 +835,11 @@ it appears.
.Pp
The
.Fl E
-option was implemented on the analogy of
+option was inspired by the equivalent
.Xr grep 1
and
-.Xr sed 1 .
+.Xr sed 1
+options.
.Sh BUGS
The special characters used by
.Nm
OpenPOWER on IntegriCloud