|
From: | Peng Yu |
Subject: | [Help-bash] Precedence of || and && |
Date: | Tue, 3 Jan 2017 20:19:49 -0600 |
Hi, The following example shows that || and && run in the order in the command. Is it so? ~$ true || false && false ~$ echo $? 1 ~$ true || (false && false) ~$ echo $? 0 -- Regards, Peng
[Prev in Thread] | Current Thread | [Next in Thread] |