zsh-users
 help / color / mirror / code / Atom feed
From: DervishD <zsh@dervishd.net>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh Users <zsh-users@sunsite.dk>
Subject: Re: globbing with interposition
Date: Tue, 19 Apr 2005 18:46:52 +0200	[thread overview]
Message-ID: <20050419164626.GB20409@DervishD> (raw)
In-Reply-To: <1050419152554.ZM31922@candle.brasslantern.com>

    Hi Bart :)

 * Bart Schaefer <schaefer@brasslantern.com> dixit:
> } a=(fotos*) mutt eric '-a '${^a} -s "all images attached" </dev/null
> That doesn't work because the order of assignment and expansion is not
> what you expect.  That is, the ${^a} is expanded at parse time, but
> the assignment prefixes are handled at execute time.

    Oops, I did the assignment on one command line and the 'mutt'
command line in another. Well, in fact I had the array already filled
and I just used it. So I didn't catch the problem :(

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.dervishd.net & http://www.pleyades.net/
It's my PC and I'll cry if I want to...


  parent reply	other threads:[~2005-04-19 23:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-19  7:21 Eric Smith
2005-04-19  7:50 ` DervishD
2005-04-19  8:22 ` J
2005-04-19  8:35   ` DervishD
2005-04-19 15:25   ` Bart Schaefer
2005-04-19 15:36     ` J
2005-04-19 15:59     ` Peter Stephenson
2005-04-19 16:22       ` Bart Schaefer
2005-04-19 16:46     ` DervishD [this message]
2005-04-19 18:36 ` Oliver Kiddle
2005-04-21 10:45   ` globbing with interposition -> rocking Eric Smith - Fruitcom

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=20050419164626.GB20409@DervishD \
    --to=zsh@dervishd.net \
    --cc=schaefer@brasslantern.com \
    --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).