Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Globbing for Empty Directories?
- X-seq: zsh-users 7301
- From: DervishD <raul@xxxxxxxxxxxx>
- To: Aaron Davies <agdavi01@xxxxxxxxxxxxxx>
- Subject: Re: Globbing for Empty Directories?
- Date: Tue, 30 Mar 2004 01:24:35 +0200
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <690CA8D0-81D6-11D8-913F-000502631FBD@xxxxxxxxxxxxxx>
- Mail-followup-to: Aaron Davies <agdavi01@xxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
- References: <20040329132800.GA7384@DervishD> <690CA8D0-81D6-11D8-913F-000502631FBD@xxxxxxxxxxxxxx>
Hi Aaron :)
* Aaron Davies <agdavi01@xxxxxxxxxxxxxx> 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/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author