|
From: | grumpy |
Subject: | the fine art of error chek'n |
Date: | Thu, 7 May 2020 15:39:05 +0200 (CEST) |
i have written simple programs use'n bash for many years i most always use something like false if (($? != 0)); then echo failed; fi other than readability what is the difference in the above and false || echo failed
[Prev in Thread] | Current Thread | [Next in Thread] |