aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/find/ls.c
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2000-06-12 11:12:41 +0000
committerOllivier Robert <roberto@FreeBSD.org>2000-06-12 11:12:41 +0000
commitc76bc8f3bf28ab1e36706a4feeb459fa9a7f0704 (patch)
tree41db3fef1bdeb320e08c39a8d4074aae0490d718 /usr.bin/find/ls.c
parent987170f752d791528e78566d9f258abbd4aa3afd (diff)
downloadsrc-c76bc8f3bf28ab1e36706a4feeb459fa9a7f0704.tar.gz
src-c76bc8f3bf28ab1e36706a4feeb459fa9a7f0704.zip
This patch adds the -mindepth and -maxdepth options to find(1), which
behave as in GNU find (and of course as described in the manual page diff included). I think these options would be useful for some people. Some missing $FreeBSD$ tags are also added. The patch was slightly modified (send-pr mangling of TABS). PR: bin/18941 Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
Notes
Notes: svn path=/head/; revision=61575
Diffstat (limited to 'usr.bin/find/ls.c')
-rw-r--r--usr.bin/find/ls.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/find/ls.c b/usr.bin/find/ls.c
index 93de47af83c5..2335111f250f 100644
--- a/usr.bin/find/ls.c
+++ b/usr.bin/find/ls.c
@@ -32,7 +32,12 @@
*/
#ifndef lint
+#if 0
static char sccsid[] = "@(#)ls.c 8.1 (Berkeley) 6/6/93";
+#else
+static const char rcsid[] =
+ "$FreeBSD$";
+#endif
#endif /* not lint */
#include <sys/param.h>