18 Aug
2025
18 Aug
'25
12:51 a.m.
It's arithematic expression, so an easy way to remember: number 0 --> returns 1 ("fail") number non-0 --> returns 0 ("success") On 2025-08-17 19:55, Ron via Talk wrote:
We've seen how bad bash can be just this week in another thread:
((-1)) returns 0 (success) ((0)) returns 1 (normally failure) ((1)) returns 0 (success)
It's this stuff I can't stand and would be unacceptable if introduced today.