summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2006-10-10 10:55:05 +0000
committerjmc <jmc@openbsd.org>2006-10-10 10:55:05 +0000
commitc1dd993fa9121b1a78e9bcc0c6f57d8b40728812 (patch)
treed187df74258493d5ffc8b7bf4583628dd77ec03f
parentadd an example of -exec {} and remove a less useful example; ok otto (diff)
downloadwireguard-openbsd-c1dd993fa9121b1a78e9bcc0c6f57d8b40728812.tar.xz
wireguard-openbsd-c1dd993fa9121b1a78e9bcc0c6f57d8b40728812.zip
get the spacing right for -exec and -execdir; ok otto
-rw-r--r--usr.bin/find/find.114
1 files changed, 11 insertions, 3 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index 0a1df094da9..08cdc8fe110 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: find.1,v 1.58 2006/10/10 10:17:36 jmc Exp $
+.\" $OpenBSD: find.1,v 1.59 2006/10/10 10:55:05 jmc Exp $
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -168,7 +168,11 @@ The same as specifying the
option.
.It Ic -empty
True if the current file or directory is empty.
-.It Ic -exec Ar utility Op argument ... ;
+.It Xo
+.Ic -exec Ar utility
+.Op argument ...
+.No ;
+.Xc
True if the program named
.Ar utility
returns a zero value as its exit status.
@@ -183,7 +187,11 @@ arguments it is replaced by the pathname of the current file.
will be executed from the directory from which
.Nm
was executed.
-.It Ic -execdir Ar utility Op argument ... ;
+.It Xo
+.Ic -execdir Ar utility
+.Op argument ...
+.No ;
+.Xc
Identical to the
.Ic -exec
primary with the exception that