summaryrefslogtreecommitdiff
path: root/usr.bin/find
diff options
context:
space:
mode:
authorHeikki Korpela <heko@cvs.openbsd.org>2001-08-22 16:50:51 +0000
committerHeikki Korpela <heko@cvs.openbsd.org>2001-08-22 16:50:51 +0000
commit3510f84dd1b9a93b77c6129be6cc533cd733b487 (patch)
treebca80b9f4d3e20bc12a9992fac7905b27d07d751 /usr.bin/find
parent24550987873ac99c12df54f6061e922532cd9ebe (diff)
o Expression is an optional argument to find(1);
noticed by Brian Poole <raj@cerias.purdue.edu> o File is not an optional argument o The section name referenced in beginning of the manual page is "operators" so don't confuse people by speaking about "operands" Ok aaron@
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/find.18
-rw-r--r--usr.bin/find/main.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index 4e49af06501..b37d297e0a2 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: find.1,v 1.31 2001/03/14 22:08:33 deraadt Exp $
+.\" $OpenBSD: find.1,v 1.32 2001/08/22 16:50:50 heko Exp $
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -45,8 +45,8 @@
.Nm find
.Op Fl HdhXxW
.Op Fl f Ar file
-.Op Ar file ...
-.Ar expression
+.Ar file Op Ar ...
+.Op Ar expression
.Sh DESCRIPTION
.Nm
recursively descends the directory tree for each
@@ -56,7 +56,7 @@ listed, evaluating an
(composed of the
.Dq primaries
and
-.Dq operands
+.Dq operators
listed below) in terms
of each file in the tree.
.Pp
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c
index 769a074f7ef..dc5522b473a 100644
--- a/usr.bin/find/main.c
+++ b/usr.bin/find/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.9 2001/07/12 05:17:04 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.10 2001/08/22 16:50:50 heko Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -35,7 +35,7 @@
#ifndef lint
/*static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";*/
-static char rcsid[] = "$OpenBSD: main.c,v 1.9 2001/07/12 05:17:04 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.10 2001/08/22 16:50:50 heko Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -145,6 +145,6 @@ static void
usage()
{
(void)fprintf(stderr,
- "usage: find [-HdhXxW] [-f file] [file ...] expression\n");
+ "usage: find [-HdhXxW] [-f file] file [...] [expression]\n");
exit(1);
}