cvs commit: src/usr.bin/find extern.h find.1 find.c find.h function.c option.c

Oliver Eikemeier eik at FreeBSD.org
Fri May 28 10:18:05 PDT 2004


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


More information about the cvs-src mailing list