From: Wataru Kagawa <wkagawa@jota.gsc.riken.go.jp>
To: zsh-users@sunsite.dk
Subject: selecting a subset of an array
Date: Thu, 2 Jun 2005 16:28:03 +0900 [thread overview]
Message-ID: <5D68F5D7-430A-44F5-A1A3-CB4690AB13CD@jota.gsc.riken.go.jp> (raw)
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
next reply other threads:[~2005-06-02 7:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-02 7:28 Wataru Kagawa [this message]
2005-06-02 8:27 ` djh
2005-06-02 8:42 ` djh
2005-06-02 10:55 Wataru Kagawa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5D68F5D7-430A-44F5-A1A3-CB4690AB13CD@jota.gsc.riken.go.jp \
--to=wkagawa@jota.gsc.riken.go.jp \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).