bug-bash
[Top][All Lists]
Advanced

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

Re: ${a:=b} expands to `b', not `a''s value


From: Andreas Schwab
Subject: Re: ${a:=b} expands to `b', not `a''s value
Date: Wed, 20 Jan 2021 14:01:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux)

On Jan 20 2021, Léa Gris wrote:

> Le 20/01/2021 à 13:51, Andreas Schwab écrivait :
>> But that's not the value of the parameter.
>
> It is not, since at this point, the parameter has no value,

That is not true.  Otherwise the expansion would be empty.

> the expansion expands the argument's value after ;= which is uppercase
> X here.

No, the parameter has the value x.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

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