zsh-users
 help / color / mirror / code / Atom feed
From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: Re: saved from prince of eval
Date: Mon, 09 Nov 2015 00:50:04 -0800	[thread overview]
Message-ID: <56405E3C.1080609@eastlink.ca> (raw)
In-Reply-To: <563FC6D6.90104@eastlink.ca>

On 11/08/2015 02:04 PM, Ray Andrews wrote:

Letting double quotes do some of the work:


     foo="\$${IN[list]}[${IN[topE]}, ${IN[bottomE]}]"
     IN[PAGE]="${(e)foo}"

... very near transparent and syntactically pleasing.  Still, I can't 
get it on one line.  It seems, so far, as if the double quotes around 
the first line are somehow conflicting with the '(e)' as if the (e) 
wants to do all the work if the contents of foo are merge in on one 
line. Not that the above is unsatisfactory, but I wonder if the 
intermediary 'foo' can be dispensed with.
>
>


  reply	other threads:[~2015-11-09  8:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-08 17:07 Ray Andrews
2015-11-08 19:57 ` Bart Schaefer
2015-11-08 22:04   ` Ray Andrews
2015-11-09  8:50     ` Ray Andrews [this message]
2015-11-09 18:41       ` Bart Schaefer
2015-11-10  0:48         ` Ray Andrews
2015-11-11  1:07         ` Ray Andrews
2015-11-11  4:18           ` Bart Schaefer
2015-11-11  5:31             ` Ray Andrews

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=56405E3C.1080609@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).