[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wrong variable name in error message about unbound variable?
From: |
Chet Ramey |
Subject: |
Re: wrong variable name in error message about unbound variable? |
Date: |
Thu, 19 Oct 2023 10:58:17 -0400 |
User-agent: |
Mozilla Thunderbird |
On 10/17/23 3:32 PM, Grisha Levit wrote:
The reason is that if there was no variable found prior to expanding
the subscript, bash does not check to see if one was created during
that process.
Thanks, I'll consider it. Behavior varies across shells in this area.
Chet
--
``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/
- wrong variable name in error message about unbound variable?, Christoph Anton Mitterer, 2023/10/16
- Re: wrong variable name in error message about unbound variable?, Lawrence Velázquez, 2023/10/16
- Re: wrong variable name in error message about unbound variable?, Christoph Anton Mitterer, 2023/10/16
- Re: wrong variable name in error message about unbound variable?, Grisha Levit, 2023/10/17
- Re: wrong variable name in error message about unbound variable?, Christoph Anton Mitterer, 2023/10/17
- Re: wrong variable name in error message about unbound variable?, Lawrence Velázquez, 2023/10/17
- Re: wrong variable name in error message about unbound variable?, Grisha Levit, 2023/10/17
- Re: wrong variable name in error message about unbound variable?,
Chet Ramey <=
- Re: wrong variable name in error message about unbound variable?, alex xmb sw ratchev, 2023/10/19
- Re: wrong variable name in error message about unbound variable?, Greg Wooledge, 2023/10/17
- Re: wrong variable name in error message about unbound variable?, Zachary Santer, 2023/10/17
- Re: wrong variable name in error message about unbound variable?, Zachary Santer, 2023/10/17
- Re: wrong variable name in error message about unbound variable?, alex xmb sw ratchev, 2023/10/17
- Re: wrong variable name in error message about unbound variable?, Chet Ramey, 2023/10/17
- Re: wrong variable name in error message about unbound variable?, alex xmb sw ratchev, 2023/10/17