summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/find.1
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-06-02 12:57:41 +0000
committertjr <tjr@FreeBSD.org>2002-06-02 12:57:41 +0000
commitb93a81cb4e396134e70045351dfc15acda794481 (patch)
treed8bada3366a884688b15fe8bd60e2b4df8d68afb /usr.bin/find/find.1
parentb4166dc3bde27b9189bad425881efd176645ea65 (diff)
downloadFreeBSD-src-b93a81cb4e396134e70045351dfc15acda794481.zip
FreeBSD-src-b93a81cb4e396134e70045351dfc15acda794481.tar.gz
Support the SysV-style -exec utility args.. {} + function, required by
SUSv3. This is similar to find foo -print0 | xargs -0 utility args.
Diffstat (limited to 'usr.bin/find/find.1')
-rw-r--r--usr.bin/find/find.19
1 files changed, 9 insertions, 0 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index 33fb540..c80b7ad 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -294,6 +294,15 @@ and
.Ar arguments
are not subject to the further expansion of shell patterns
and constructs.
+.It Ic -exec Ar utility Oo Ar argument ... Oc {} +
+Same as
+.Ic -exec ,
+except that
+.Dq Li {}
+is replaced with as many pathnames as possible for each invocation of
+.Ar utility .
+This behaviour is similar to that of
+.Xr xargs 1 .
.It Ic -execdir Ar utility Op Ar argument ... ;
The
.Ic -execdir
OpenPOWER on IntegriCloud