help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does quote removal work with alternative forms of parameter expa


From: Lawrence Velázquez
Subject: Re: How does quote removal work with alternative forms of parameter expansion?
Date: Sun, 26 May 2024 20:26:30 -0400
User-agent: Cyrus-JMAP/3.11.0-alpha0-480-g515a2f54a-fm-20240515.001-g515a2f54

On Sun, May 26, 2024, at 8:19 PM, Greg Wooledge wrote:
> What I would do is put the default string in a variable (which you can
> quote however you need to), and then use that variable in the conditional
> expansion.

This is also the advice given by the Autoconf manual.

https://www.gnu.org/software/autoconf/manual/autoconf-2.72/html_node/Shell-Substitutions.html#index-_0024_007bvar_002dvalue_007d

-- 
vq



reply via email to

[Prev in Thread] Current Thread [Next in Thread]