[Rpm-maint] [rpm-software-management/rpm] Ternary op discussions (#852)
notifications at github.com
Tue Sep 24 11:20:31 UTC 2019
With the referenced pull request you can use && and || for alternate/default:
`%foo && %bar` is `%bar` if `%foo` is true, otherwise `0`
`%foo || %bar` is `%foo` if `%foo` is true, otherwise `%bar`
I think people are somewhat more used to this than the degenerate `?` and `?!` forms that aren't used in any other programming language.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint