Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
selecting a subset of an array
- X-seq: zsh-users 8937
- From: Wataru Kagawa <wkagawa@xxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: selecting a subset of an array
- Date: Thu, 2 Jun 2005 16:28:03 +0900
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Sorry for another basic question, but how do I exclude a particular
element from an array by using its name in a parameter expansion?
For example, I would like to select everything except for
'foo1:output file' from the following array, using only 'foo1' in the
expansion.
_list=( 'foo1:output file' 'foo2:input file' 'foo3:output figs'
'foo4:input figs' )
Help is much appreciated.
Wataru Kagawa
Messages sorted by:
Reverse Date,
Date,
Thread,
Author