|
From: | Chet Ramey |
Subject: | Re: test or [ does not handle parentheses as stated in manpage |
Date: | Tue, 6 Sep 2022 09:25:36 -0400 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 |
On 9/6/22 1:51 AM, Julian Gilbey wrote:
On Tue, Sep 06, 2022 at 12:03:20AM +0200, Andreas Schwab wrote:On Sep 05 2022, Julian Gilbey wrote:neither did using \( instead of (, and neither did putting spaces around the parentheses.You need to do both.Ah, thanks! May I suggest that adding this information as a note in the manpage would be very helpful?
The man page says, in the `test' description: "Each operator and operand must be a separate argument." -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
[Prev in Thread] | Current Thread | [Next in Thread] |