Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Glob for empty files?
- X-seq: zsh-users 14312
- From: Stephane Chazelas <stephane_chazelas@xxxxxxxx>
- To: Aaron Davies <aaron.davies@xxxxxxxxx>
- Subject: Re: Glob for empty files?
- Date: Thu, 20 Aug 2009 07:28:45 +0100
- Cc: "zsh-users@xxxxxxxxxx" <zsh-users@xxxxxxxxxx>
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; b=eQz9nSLsDClibF9rABr97kFpIG52ITNGQcfo6g4NzxCTFy7v51NcIv5xWBK0CezTHMBlccIwoWBQd4ZdQxdXUvAJ/TLCdU5YuN1GUsCI1U0T1LJZ/nG2Q3ZEbT5yiezMeGFAmXTz4X0U42fhpjhAYdT6MmuVeF1+Se9AHo76Zf0= ;
- In-reply-to: <C2B70D1B-D770-47D7-B11F-A86121E055FB@xxxxxxxxx>
- Mail-followup-to: Aaron Davies <aaron.davies@xxxxxxxxx>, "zsh-users@xxxxxxxxxx" <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <C2B70D1B-D770-47D7-B11F-A86121E055FB@xxxxxxxxx>
2009-08-20 14:13:50 +0800, Aaron Davies:
> *(^F) matches empty directories; what about files? *(^e:test -s:) is what
> occurs to me, but it doesn't seem to work.
[...]
*(.L0)
*(.^e:'test -s $REPLY':)
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author