Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: transformations of glob results
- X-seq: zsh-users 20632
- From: Marc Chantreux <khatar@xxxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: transformations of glob results
- Date: Wed, 23 Sep 2015 16:41:51 +0200
- Cc: Zsh Users <zsh-users@xxxxxxx>
- In-reply-to: <CAHYJk3SVuysyj=Nzg7ntKh2j7qZu+jZ=04_hfLwo6aW2WjCsaA@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20150923080648.GA1294@ramirez.u-strasbg.fr> <CAHYJk3SVuysyj=Nzg7ntKh2j7qZu+jZ=04_hfLwo6aW2WjCsaA@mail.gmail.com>
hello,
> use an anonymous function but all that really does is give you a free
> local variable, (eg, () { print ${(j:,:):-listmaster@$^@}} }
the thing is: you can't expand a list in an anymous function as it
communicates with pipes. i'm stuck there but the question was out of
curiosity.
thanks a lot for answering.
marc
--
Marc Chantreux (eiro on github and freenode)
http://eiro.github.com/
http://eiro.github.com/atom.xml
"Don't believe everything you read on the Internet"
-- Abraham Lincoln
Messages sorted by:
Reverse Date,
Date,
Thread,
Author