Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 03:16:53 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/find extern.h find.1 find.h function.c option.c
Message-ID:  <200101231116.f0NBGrk15268@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2001/01/23 03:16:53 PST

  Modified files:
    usr.bin/find         extern.h find.1 find.h function.c 
                         option.c 
  Log:
  Add the -empty flag, from OpenBSD.  It returns true if the directory
  is empty.  There doesn't appear to be another easy way to do this.
  
  mobile# mkdir foo
  mobile# mkdir foo/bar
  mobile# mkdir bar
  mobile# find . -empty
  ./foo/bar
  ./bar
  
  Revision  Changes    Path
  1.11      +2 -1      src/usr.bin/find/extern.h
  1.30      +3 -1      src/usr.bin/find/find.1
  1.9       +3 -3      src/usr.bin/find/find.h
  1.28      +44 -1     src/usr.bin/find/function.c
  1.11      +2 -1      src/usr.bin/find/option.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101231116.f0NBGrk15268>