Date: Tue, 23 Jan 2001 09:27:10 -0800 From: Jordan Hubbard <jkh@winston.osd.bsdi.com> To: Peter Wemm <peter@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/find extern.h find.1 find.h function.c option.c Message-ID: <24140.980270830@winston.osd.bsdi.com> In-Reply-To: Message from Peter Wemm <peter@FreeBSD.org> of "Tue, 23 Jan 2001 03:16:53 PST." <200101231116.f0NBGrk15268@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Cool - I've always wanted something like that. > 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?24140.980270830>