Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: trap question



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




Messages sorted by: Reverse Date, Date, Thread, Author