|
2026-08-29
| ||
| 09:14 | [04d1d40a] correct expr ?: documentation (9.0 and main) check-in: 864bf536bc user: oehhar tags: core-9-0-branch | |
| 09:13 | • Closed ticket [04d1d40a32]: expr manual error with x ? y : z plus 8 other ch... artifact: b6187425e8 user: oehhar | |
| 09:12 | [04d1d40a] correct expr ?: documentation (9.0 and main) check-in: 9176ea0dc5 user: oehhar tags: trunk, main | |
|
2026-08-28
| ||
| 20:52 | • Ticket [04d1d40a32] expr manual error with x ? y : z status still Open with ... artifact: 69b7605823 user: anonymous | |
| 19:07 | • New ticket [04d1d40a32]. artifact: ffb2399cba user: anonymous | |
expr manual error with x ? y : z
Closed / Fixed04d1d40a323a617c9f08c250e72850fafd901cb1Created 97 days agoUpdated 96 days ago
Descriptionplain2026-08-28 19:07:31
Am I mistaken or is this backwards (from the manual online pages and expr.n):
x ? y : z
If-then-else, as in C. If x is false , the result is the value of y. Otherwise the result is the value of z. This operator evaluates lazily; it evaluates only one of y or z.
anonymousplain2026-08-28 20:52:12
actually, in 8.6 is said non-zero, so it appears to be a change in wording in 9.x
oehharwiki2026-08-29 09:13:02
Log in (anonymous is fine) to add a comment.