[24080] trunk/base/doc/portfile.7
source_changes at macosforge.org
source_changes at macosforge.org
Sun Apr 15 22:59:30 PDT 2007
Revision: 24080
http://trac.macosforge.org/projects/macports/changeset/24080
Author: eridius at macports.org
Date: 2007-04-15 22:59:30 -0700 (Sun, 15 Apr 2007)
Log Message:
-----------
Add documentation about the new find command
Modified Paths:
--------------
trunk/base/doc/portfile.7
Modified: trunk/base/doc/portfile.7
===================================================================
--- trunk/base/doc/portfile.7 2007-04-16 05:44:31 UTC (rev 24079)
+++ trunk/base/doc/portfile.7 2007-04-16 05:59:30 UTC (rev 24080)
@@ -1482,6 +1482,38 @@
.El
.El
.It Xo
+.Ic find
+.Op Fl depth
+.Op Fl ignoreErrors
+.Ar varname
+.Ar target
+.Op Ar target ...
+.Ar body
+.Xc
+Traverse the filesystem hierarchy rooted in each
+.Ar target
+and execute
+.Ar body
+for each found file/directory. Sets
+.Ar varname
+to the path of the file/directory. If
+.Nm break
+is called during execution, the filesystem traversal is stopped. If
+.Nm continue
+is called during execution, the current file and any children are skipped
+and traversal continues with the next file/directory.
+.Bl -tag -width indent
+.It Fl depth
+Equivalent to the
+.Fl d
+switch to
+.Xr find 1 .
+.It Fl ignoreErrors
+Causes
+.Nm find
+to ignore any permissions/read errors encountered during processing.
+.El
+.It Xo
.Ic curl fetch
.Ar url
.Ar file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070415/b0efd3d7/attachment.html
More information about the macports-changes
mailing list