zsh-users
 help / color / mirror / code / Atom feed
From: "Jack McKinney" <jackmc-zsh-users@lorentz.com>
To: zsh-users@sunsite.auc.dk
Subject: Re: converting parameter to words
Date: Fri, 13 Oct 2000 15:02:57 -0500	[thread overview]
Message-ID: <20001013150257.B2984@stocks.pillory.com> (raw)
In-Reply-To: <1001013182323.ZM5486@candle.brasslantern.com>; from schaefer@candle.brasslantern.com on Fri, Oct 13, 2000 at 06:23:23PM +0000

-----BEGIN PGP SIGNED MESSAGE-----

Big Brother tells me that Bart Schaefer wrote:
> On Oct 13, 10:48am, Jack McKinney wrote:
> }
> } for i
> } do
> }   temp="$temp -r $i"
> } done
> } 
> } command $temp
> } 
> } From the man page, it sounds like ${^temp} or ${=temp} should
> } work, but neither does.
> 
> ${=temp} should have done it for you:
> 
> zagzig[562] x="foo -r bar -r baz"
> zagzig[563] print -l ${=x}

    Yep... this did it.  I found another bone-headed error in the script
that was causing the real problem.

- --
"Restore your inalienable human rights.             Jack McKinney
 Vote Libertarian.  http://www.lp.org               http://www.lorentz.com
 http://www.harrybrowne2000.org
F4 A0 65 67 58 77 AF 9B  FC B3 C5 6B 55 36 94 A6    jackmc@lorentz.com

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBOedqbkZx0BGJTwrZAQG2FwQAhImbPTBIKB8lSNGQeGBpIQ8hiE+d6vXx
5GSgL827sA/YWNc0mJqSVkYSRyNp+aLckHpMI7PWHFAp/aBHrT8DDeuX43GtIWfw
zek+krAz50DsqEC24zkhz1ia9W+peAn8EooarnSH9JkJhPObhChKvg0yJ/vmIjO/
F/kSil5k3a4=
=lW0a
-----END PGP SIGNATURE-----


  reply	other threads:[~2000-10-13 20:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-13 15:48 Jack McKinney
2000-10-13 16:16 ` Nemeth Ervin
2000-10-13 18:23   ` Bart Schaefer
2000-10-13 20:02     ` Jack McKinney [this message]
2000-10-13 19:53   ` Jack McKinney

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=20001013150257.B2984@stocks.pillory.com \
    --to=jackmc-zsh-users@lorentz.com \
    --cc=zsh-users@sunsite.auc.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).