Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Style question: Can this be written in a more elegant way?
- X-seq: zsh-users 10174
- From: Marc Chantreux <marc.chantreux@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Style question: Can this be written in a more elegant way?
- Date: Mon, 24 Apr 2006 10:27:55 +0200
- In-reply-to: <6F0CB04509C11D46A54232E852E390AC013D956D@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <6F0CB04509C11D46A54232E852E390AC013D956D@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Com MN PG P E B Consultant 3 wrote:
Here is my solution:
Here is mine but i'm sure there is faster.
file=( *(om) )
(( $file[1] )) && PROG_SUCCESS || PROG_FAIL
Messages sorted by:
Reverse Date,
Date,
Thread,
Author