bug-make
[Top][All Lists]
Advanced

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

Re: shell assignment operator documentation missing 'not'


From: Paul Smith
Subject: Re: shell assignment operator documentation missing 'not'
Date: Sun, 30 May 2021 11:05:02 -0400
User-agent: Evolution 3.36.4-0ubuntu1

On Tue, 2021-05-25 at 10:33 +0000, Ronald Hoogenboom wrote:
> In the info file documenting the shell assignment operator in section
> 3.7 "reading makefiles", there is the phrase:
> 
> "...that variable becomes a simple variable (and will thus be re-
> evaluated on each reference)." 
> 
> A simple variable is NOT re-evaluated on each reference, so the word
> "not" is missing in the parenthesized part.

Actually, it's correct to not have the "not" there: the problem is that
the variable is a recursive variable not a simple variable.

If it were a simple variable then the two assignments ":=" and "!="
would be identical in behavior.

Thanks for pointing out this error in the documentation!




reply via email to

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