On 6/15/22 2:25 PM, Emanuele Torre wrote:

Bash Version: 5.1
Patch Level: 16
Release Status: release

Description:
        test's arithmetic operatiors print an incorrect error message
        when one of operands is not an integer.

        It says "integer expression expected" even if it simply expects
        an integer, not an expression ([['s arithmetic operators do
        expect an expression, but test's don't).

Thanks for the report. I'll do something here after bash-5.2 is released.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to