bug-bash
[Top][All Lists]
Advanced

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




reply via email to

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