bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ${param@a} should bypass unbound variable check or be processed ahea


From: konsolebox
Subject: Re: ${param@a} should bypass unbound variable check or be processed ahead of it.
Date: Mon, 21 Oct 2024 23:46:45 +0800

On Mon, Oct 14, 2024 at 2:57 AM Chet Ramey <chet.ramey@case.edu> wrote:
>
> I'll consider it, but I'm not eager to carve out more exceptions for
> `set -u'.

Checking for unbound_vars_is_error can be done earliest if you worry
about additional runtime weight.  It makes the code for disabled `set
-u` instances optimal by default even just by theory.  That way the
number of added exceptions would only matter to people who care about
using `set -u`.


--
konsolebox

Attachment: diff.txt
Description: Text document


reply via email to

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