bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] cond expr: cleanup on errors


From: Chet Ramey
Subject: Re: [PATCH] cond expr: cleanup on errors
Date: Mon, 10 Jun 2024 09:32:44 -0700
User-agent: Mozilla Thunderbird

On 6/4/24 3:00 PM, Grisha Levit wrote:

Thanks for the report. These are interactive errors only, since a syntax
error in a compound command causes the shell to exit.

The fix for this you applied in [1] does seem cleaner. I think it needs
also the following for something like `[[ ( -n x x ]]`:

Good catch, thanks.

--
``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/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]