From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11636 invoked from network); 26 Oct 2003 10:24:32 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 26 Oct 2003 10:24:32 -0000 Received: (qmail 5693 invoked by alias); 26 Oct 2003 10:24:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6737 Received: (qmail 5619 invoked from network); 26 Oct 2003 10:24:09 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 26 Oct 2003 10:24:09 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.193.203.32] by sunsite.dk (MessageWall 1.0.8) with SMTP; 26 Oct 2003 10:24:8 -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 h9QAO2917546; Sun, 26 Oct 2003 11:24:02 +0100 Received: from raul@pleyades.net by DervishD.pleyades.net with local (Exim MTA 2.05) id <1ADSdi-0003sF-00>; Sat, 25 Oct 2003 19:55:50 +0200 Date: Sat, 25 Oct 2003 19:55:50 +0200 From: DervishD To: Bart Schaefer Cc: zsh-users@sunsite.dk Subject: Re: Finding empty directories Message-ID: <20031025175550.GO12558@DervishD> Mail-Followup-To: Bart Schaefer , zsh-users@sunsite.dk References: <1031023174025.ZM6878@candle.brasslantern.com> <20031023181630.GI52@DervishD> <1031024144419.ZM9058@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1031024144419.ZM9058@candle.brasslantern.com> User-Agent: Mutt/1.4i Organization: Pleyades User-Agent: Mutt/1.4i Hi Bart :) * Bart Schaefer dixit: > } * Bart Schaefer dixit: > } > [My ISP had a "latency problem" (their words) > } Sorry :((( I've had problems with email, too, and its *very* > } annoying... > Even more annoying is that my DSL was unable to renew its DHCP token > for about 12 straight hours beginning late yesterday afternoon. 8-Oooo Yes, it's even more annoying :(( > } > dirname(N-/l2) > } I tried that too, but it doesn't work, because under Linux, > } directories with just files on them seems to have only two links :( > Oh, of course; silly me. Yes, that's standard for a unix FS. I remember to have read that an empty directory has just two links in some Unix book in the past :??? > } > What do you mean by "just have a file listing"? > } A generated list of files in a file, for example, which I must > } examine entry by entry. > print ${^$( would work, I think ... Yes, it works, my problem was not that. I process the list file-per-file, and I thought that you couldn't use glob modifiers if the filename didn't have any glob metachar in it ;) Now that I know that I can do it, processing is very easy ;)) Thanks a lot ;) Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.pleyades.net & http://raul.pleyades.net/