zsh-workers
 help / color / mirror / code / Atom feed
From: "Daniel Shahaf" <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Subject: Re: [Bug] $jobstates does not work in $()
Date: Mon, 07 Mar 2022 14:22:38 +0000	[thread overview]
Message-ID: <a26cd066-8515-4771-ac28-462496373dec@www.fastmail.com> (raw)
In-Reply-To: <408FD16E-7889-4957-916D-778FE759CC2F@kba.biglobe.ne.jp>

Jun T wrote on Sun, 06 Mar 2022 04:18 +00:00:
>> 2022/03/04 22:04, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
>> 
>> Jun T wrote on Fri, Mar 04, 2022 at 11:14:07 +0900:
>
>>> +  zpty_input "MODULE_PATH=$MODULE_PATH"
>> 
>> Add ${(q)}?
>
> OK,

Thanks.

> but if the build directory name contains spaces then
> 'make check' fails anyway.

Even so, I think it's a good idea to use (q) there, so the code is
reusable if someone copies it to some other context with another
variable, and so readers don't wonder why the (q) isn't there.

Cheers,

Daniel


      reply	other threads:[~2022-03-07 14:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01  0:46 Carl Agrell
2022-03-01 10:40 ` Peter Stephenson
2022-03-02  9:44   ` Daniel Shahaf
2022-03-02 20:18     ` Peter Stephenson
2022-03-03 22:04       ` Vin Shelton
2022-03-03 23:07         ` Bart Schaefer
2022-03-04  2:14           ` Jun T
2022-03-04 13:04             ` Daniel Shahaf
2022-03-04 13:13               ` Vin Shelton
2022-03-06  4:18               ` Jun T
2022-03-07 14:22                 ` Daniel Shahaf [this message]

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=a26cd066-8515-4771-ac28-462496373dec@www.fastmail.com \
    --to=d.s@daniel.shahaf.name \
    --cc=zsh-workers@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).