zsh-users
 help / color / mirror / code / Atom feed
From: "Lawrence Velázquez" <larryv@zsh.org>
To: "Ray Andrews" <rayandrews@eastlink.ca>
Cc: zsh-users@zsh.org
Subject: Re: trap question
Date: Fri, 25 Nov 2022 23:49:19 -0500	[thread overview]
Message-ID: <daf5f1b9-16ca-4c12-9849-68baf7445bb5@app.fastmail.com> (raw)
In-Reply-To: <e51e8991-9fe1-d8f7-9665-750be835de19@eastlink.ca>

On Fri, Nov 25, 2022, at 11:27 PM, Ray Andrews wrote:
> On 2022-11-25 17:57, Bart Schaefer wrote:
>> remain un-expandable within single quotes. Is this an exception or
>>> somehow to be viewed as routine?
>> You can think of "trap" as a delayed "eval".
> Ok, so I can continue to expect that there's no expansions within single 
> quotes.  It's sorta intuitive that a trap is a special case.

It's not a special case, just like "eval" isn't a special case.

-- 
vq


  reply	other threads:[~2022-11-26  4:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25 18:35 Ray Andrews
2022-11-25 18:57 ` Roman Perepelitsa
2022-11-25 23:25   ` Ray Andrews
2022-11-26  1:57     ` Bart Schaefer
2022-11-26  4:25       ` Philippe Altherr
2022-11-26  4:27       ` Ray Andrews
2022-11-26  4:49         ` Lawrence Velázquez [this message]
2022-11-26  4:50         ` Bart Schaefer
2022-11-26 15:03           ` Ray Andrews
2022-11-26 15:25             ` Roman Perepelitsa
2022-11-27  1:49               ` 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=daf5f1b9-16ca-4c12-9849-68baf7445bb5@app.fastmail.com \
    --to=larryv@zsh.org \
    --cc=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).