freebsd-nq/usr.bin/find
Peter Wemm ed1a4621a2 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
2001-01-23 11:16:50 +00:00
..
extern.h Add the -empty flag, from OpenBSD. It returns true if the directory 2001-01-23 11:16:50 +00:00
find.1 Add the -empty flag, from OpenBSD. It returns true if the directory 2001-01-23 11:16:50 +00:00
find.c This patch adds the -mindepth and -maxdepth options to find(1), which 2000-06-12 11:12:41 +00:00
find.h Add the -empty flag, from OpenBSD. It returns true if the directory 2001-01-23 11:16:50 +00:00
function.c Add the -empty flag, from OpenBSD. It returns true if the directory 2001-01-23 11:16:50 +00:00
ls.c This patch adds the -mindepth and -maxdepth options to find(1), which 2000-06-12 11:12:41 +00:00
main.c This patch adds the -mindepth and -maxdepth options to find(1), which 2000-06-12 11:12:41 +00:00
Makefile Switch over to using the new fflagstostr and strtofflags library calls. 2000-06-17 14:19:33 +00:00
misc.c This patch adds the -mindepth and -maxdepth options to find(1), which 2000-06-12 11:12:41 +00:00
operator.c This patch adds the -mindepth and -maxdepth options to find(1), which 2000-06-12 11:12:41 +00:00
option.c Add the -empty flag, from OpenBSD. It returns true if the directory 2001-01-23 11:16:50 +00:00