[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix for command invalid identifier line number
From: |
Chet Ramey |
Subject: |
Re: [PATCH] fix for command invalid identifier line number |
Date: |
Fri, 6 Oct 2023 11:00:20 -0400 |
User-agent: |
Mozilla Thunderbird |
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 chet@case.edu http://tiswww.cwru.edu/~chet/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] fix for command invalid identifier line number,
Chet Ramey <=