Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Maildir empty?
- X-seq: zsh-users 7685
- From: DervishD <raul@xxxxxxxxxxxx>
- To: Klaus Wacker <wacker@xxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Maildir empty?
- Date: Mon, 12 Jul 2004 15:22:21 +0200
- Cc: ZSH User List <zsh-users@xxxxxxxxxx>
- In-reply-to: <20040712124144.GO2860@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Klaus Wacker <wacker@xxxxxxxxxxxxxxxxxxxxxx>, ZSH User List <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
- References: <20040712073705.GN2860@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <690.1089625465@xxxxxxxxxxxxxxxxxxxxx> <20040712124144.GO2860@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Hi Klaus and Oliver :)
* Klaus Wacker <wacker@xxxxxxxxxxxxxxxxxxxxxx> dixit:
> > Does this do what you want:
> > if [ -z $i/*/*([1]) ]
> > You need to use the single brackets so that the $i/*/* is treated as a
> > filename expansion.
Why are single brackets needed here instead of [[ -z ... ]]? Why
with single brackets the $i/*/* construction is treated as a filename
expansion? Is it not using double brackets?
Thanks :)
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