[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Use first form of the test command
From: |
Ben Elliston |
Subject: |
Re: [PATCH] Use first form of the test command |
Date: |
Mon, 17 Aug 2020 11:05:56 +1000 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Sun, Aug 16, 2020 at 07:42:57PM -0400, Issam E. Maghni wrote:
> Following
> https://lists.gnu.org/archive/html/automake-patches/2020-08/msg00004.html
> > The first form is easier to implement and directly available in BusyBox.
> > https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
Is there a specific use case that is causing problems? The POSIX
standard says that 'test' and '[' are semantically equivalent and '['
should be present on any POSIX system. I can understand that a broken
system might be missing '[', but this hasn't been a problem for 25+
years.
Can you elaborate?
Thanks,
Ben