Date: Fri, 28 May 2004 10:17:15 -0700 (PDT) From: Oliver Eikemeier <eik@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/find extern.h find.1 find.c find.h function.c option.c Message-ID: <200405281717.i4SHHFfU007326@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
eik 2004/05/28 10:17:15 PDT
FreeBSD src repository
Modified files:
usr.bin/find extern.h find.1 find.c find.h function.c
option.c
Log:
- introduce a new primary `-depth n', which tests whether
the depth of the current file relative to the starting
point of the traversal is n. The usual +/- modifiers
to the argument apply.
- while I'm here, fix -maxdepth in the case of a depth-first
traversal
Print the top ten maintainers of python module ports
(works with p5-* too):
find /usr/ports -depth 2 \! -name 'py-*' -prune -o \
-depth 3 -name Makefile -execdir make -VMAINTAINER \; \
| sort | uniq -c | sort -nr | head
PR: 66667
Reviewed by: ru, joerg
Approved by: joerg
MFC after: 2 weeks
Revision Changes Path
1.21 +1 -0 src/usr.bin/find/extern.h
1.63 +34 -14 src/usr.bin/find/find.1
1.17 +5 -6 src/usr.bin/find/find.c
1.17 +3 -0 src/usr.bin/find/find.h
1.50 +47 -7 src/usr.bin/find/function.c
1.22 +1 -1 src/usr.bin/find/option.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405281717.i4SHHFfU007326>
