|
From: | dethrophes |
Subject: | Re: extension of file-test primitives? |
Date: | Wed, 23 Aug 2017 17:13:29 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
Should probably update the bash help to reflect that as help bash (in my version at least) only says EXPR1 -a EXPR2 True if both expr1 AND expr2 are true. EXPR1 -o EXPR2 True if either expr1 OR expr2 is true. The main oses I work on are XSI conform. Am 23.08.2017 um 17:00 schrieb Chet Ramey:
On 8/23/17 10:49 AM, dethrophes wrote:Well technically I don't *have* to accept the performance penalty. As I can just use the posix comform syntax, which is quicker.Wait, which posix-conforming syntax? Because your original example, which had five arguments to `test', is explicitly unspecified:4 arguments:The results are unspecified. unless you're on an XSI-conformant system.
[Prev in Thread] | Current Thread | [Next in Thread] |