On 9/26/23 6:28 PM, Grisha Levit wrote:
$ bash -u <<<$'for x in $1\ndo :\ndone'
bash: line 1: $1: unbound variable

$ bash -u <<<$'for 1 in $_\ndo :\ndone'
bash: line 3: `1': not a valid identifier

Thanks for the report and patch.

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