zsh-users
 help / color / mirror / code / Atom feed
From: djh <henman@it.to-be.co.jp>
To: zsh-users@sunsite.dk
Subject: Re: selecting a subset of an array
Date: Thu, 02 Jun 2005 17:42:30 +0900	[thread overview]
Message-ID: <429EC676.1030006@it.to-be.co.jp> (raw)
In-Reply-To: <429EC30C.2070401@it.to-be.co.jp>


Sorry, in my explanation I used a hypen in the parmater name inthe 
example and later realized that  you can not use a hyphen in a parmater 
name like I did.

So for your example:   ${_list:#foo1*}

> Kagawa-san,
>    try using ${array-namae:#pattern}    Here's the explanation I found 
> in the manual.
>
>>
>> _list=( 'foo1:output file' 'foo2:input file' 'foo3:output figs'  
>> 'foo4:input figs' )
>


  reply	other threads:[~2005-06-02  8:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-02  7:28 Wataru Kagawa
2005-06-02  8:27 ` djh
2005-06-02  8:42   ` djh [this message]
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=429EC676.1030006@it.to-be.co.jp \
    --to=henman@it.to-be.co.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).