summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/ls.c
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2000-06-12 11:12:41 +0000
committerroberto <roberto@FreeBSD.org>2000-06-12 11:12:41 +0000
commitc88f0b2a324fd8037931b79f16e210f404280271 (patch)
tree0bc4fc0ea4650f72cd168363e297c8434da1874e /usr.bin/find/ls.c
parent4700b95df2b7132536328b616ed11b6fb0f06812 (diff)
downloadFreeBSD-src-c88f0b2a324fd8037931b79f16e210f404280271.zip
FreeBSD-src-c88f0b2a324fd8037931b79f16e210f404280271.tar.gz
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>
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 93de47a..2335111 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>
OpenPOWER on IntegriCloud