From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: syntax question
Date: Sun, 06 Sep 2015 09:50:20 -0700 [thread overview]
Message-ID: <55EC6ECC.4020503@eastlink.ca> (raw)
In-Reply-To: <20150830201324.309d36b0@ntlworld.com>
If I have a variable who's name is partially constructed from the
contents of another variable:
eval "t$bb="
eval "echo \$t$bb"
... the above handles it all fine, but is there a simpler syntax? I
understand that most/much of what 'eval' does can be written more elegantly.
next prev parent reply other threads:[~2015-09-06 17:20 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-30 19:13 zsh 5.1 released [user] Peter Stephenson
2015-09-04 16:02 ` can we detect the closing of a terminal? Ray Andrews
2015-09-04 17:09 ` ZyX
2015-09-04 21:37 ` Kurtis Rader
2015-09-05 3:07 ` Ray Andrews
2015-09-05 4:31 ` Kurtis Rader
2015-09-05 14:27 ` Ray Andrews
2015-09-06 16:43 ` zsh 5.1 released [user] Ray Andrews
2015-09-06 16:55 ` Axel Beckert
2015-09-06 16:57 ` Axel Beckert
2015-09-06 17:13 ` Ray Andrews
2015-09-06 19:37 ` Axel Beckert
2015-09-06 19:58 ` Ray Andrews
2015-09-08 1:55 ` Ray Andrews
2015-09-06 17:08 ` Ray Andrews
2015-09-06 16:50 ` Ray Andrews [this message]
2018-03-21 23:15 syntax question Ray Andrews
2018-03-22 1:30 ` Bart Schaefer
2018-03-23 16:44 ` Sebastian Gniazdowski
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=55EC6ECC.4020503@eastlink.ca \
--to=rayandrews@eastlink.ca \
--cc=zsh-users@zsh.org \
/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).