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

Re: [Bug] $jobstates does not work in $()



Jun T wrote on Sun, 06 Mar 2022 04:18 +00:00:
>> 2022/03/04 22:04, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> 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




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