On Thu, Oct 19, 2023, 16:58 Chet Ramey <chet.ra...@case.edu> wrote:

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

to me , its a valid err of non exist value
another normal is to || true with like = or :=
ah i suggest an shopt , cause imo both approaches are valid but different

greets

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