From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17382 invoked from network); 30 Mar 2004 14:57:04 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 30 Mar 2004 14:57:04 -0000 Received: (qmail 26394 invoked by alias); 30 Mar 2004 14:56:24 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7301 Received: (qmail 26360 invoked from network); 30 Mar 2004 14:56:22 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 30 Mar 2004 14:56:22 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 30 Mar 2004 14:56:19 -0000 Received: (qmail 13707 invoked from network); 30 Mar 2004 14:56:19 -0000 Received: from madrid10.amenworld.com (62.193.203.32) by a.mx.sunsite.dk with SMTP; 30 Mar 2004 14:56:16 -0000 Received: from DervishD.pleyades.net (212.Red-80-35-44.pooles.rima-tde.net [80.35.44.212]) by madrid10.amenworld.com (8.10.2/8.10.2) with ESMTP id i2UEtw300530; Tue, 30 Mar 2004 16:56:02 +0200 Received: from raul@pleyades.net by DervishD.pleyades.net with local (Exim MTA 2.05) id <1B867P-0002A7-00>; Tue, 30 Mar 2004 01:24:35 +0200 Date: Tue, 30 Mar 2004 01:24:35 +0200 From: DervishD To: Aaron Davies Cc: zsh-users@sunsite.dk Subject: Re: Globbing for Empty Directories? Message-ID: <20040329232435.GA8304@DervishD> Mail-Followup-To: Aaron Davies , zsh-users@sunsite.dk References: <20040329132800.GA7384@DervishD> <690CA8D0-81D6-11D8-913F-000502631FBD@louisville.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <690CA8D0-81D6-11D8-913F-000502631FBD@louisville.edu> User-Agent: Mutt/1.4.2.1i Organization: Pleyades X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: * X-Spam-Status: No, hits=1.4 required=6.0 tests=DATE_IN_PAST_12_24, MAILTO_TO_SPAM_ADDR autolearn=no version=2.63 X-Spam-Hits: 1.4 Hi Aaron :) * Aaron Davies dixit: > > I have not tested in many systems, but Linux don't do it, and > >I've not found any standard that require files to be links on the > >directory. If you find any, please tell me to report the current > >behaviour as a bug to Linux kernel developers, but looking at > >findutils sources (that being GNU are intended to be very portable), > >you can see the following: > I'm on OS X, so it may be a peculiarity of HFS+. Do you mean you can know if a dir is empty or not in OS X looking for the number of st_nlinks it has? I must confess I don't know a workd about HFS+ O:) Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.pleyades.net & http://raul.pleyades.net/