Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #13787

Re: misleading error message from variable modifier

Path csiph.com!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!171.64.64.130.MISMATCH!usenet.stanford.edu!not-for-mail
From Clark Wang <dearvoid@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: misleading error message from variable modifier
Date Fri, 2 Mar 2018 14:07:30 +0800
Lines 16
Approved bug-bash@gnu.org
Message-ID <mailman.9998.1519970896.27995.bug-bash@gnu.org> (permalink)
References <CAHQakpWxVECCU_LgGmGFXo7_Pftm0rw4Cn8xoZbSqnTOdCZgUQ@mail.gmail.com> <268f06ff-55ee-4364-fa75-54081dc7869a@case.edu> <CAHQakpUKOD=1arn63tnbqqu-C-sZ-xupQ2G9px+AFPgOMZS+mQ@mail.gmail.com> <4af3e3c0-dc52-e5b5-bc6a-7894abb69cde@case.edu> <CAHQakpUAY-KX4tmAO5K0x9eA08yVPK8e+3tNq82YO0eGJj23-A@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1519970897 3454 208.118.235.17 (2 Mar 2018 06:08:17 GMT)
X-Complaints-To action@cs.stanford.edu
Cc "bash.bug list" <bug-bash@gnu.org>
To don fong <dfong@dfong.com>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Mm3BLZzcnEjJo/c3ovlAqse1eZ8p7I6dLAcgEnGejdA=; b=CFFlb2hgXFzhKE4Xf8fkkYuaMo5jKsioOsqReK0cWXPA88qmlx/S/gbcAjfc5GsAqF R44qypJd+WIJpl/iY7/pmxQnKLxCX070+BpeEvUzEkhrKq1iwFKaGEWktebMDAYgaf60 CSUvzzE5dxwCx5OL99RrsSeOPCsh/+KfhX2FftF2h2QW04/+JWGoSPAJBOvUlmNxkUUh EcqbT/NNsafsg3A48RPr0PPONnnk/P1CT/QeYqr8SUeASo/M5BSz8Up4fJNcqAyESfWL BABS1uBfqT4LcgbTTfBDawq50+vXiQvXRuXXK/uzijFMNUHda5DJ64U1OS3PIm/gfQDV jSOg==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Mm3BLZzcnEjJo/c3ovlAqse1eZ8p7I6dLAcgEnGejdA=; b=maBV45QErFqYpN4H8YXUivLWJ2NZRWZzMcaMMnade7yMnaFli2PJAvRwaan/Br/RZS 4E5NG/TOrCTzQAvAQGignB+cH5iPY57os6BnfVqedOrgP8c2mNQCEjbuwGWEwYCMtlQv VbYnv1fmtXQciuFvyCQc33YA1rn4qOQ2xDArl9ZD2X6J7+74eB6vnkzgK+m3To6Ug+OS Y4wMsxveMSTJbsZ8WH5+LEzX9y8t/6JjcBtcYvSHZW8RkUGFuWACFTwdsNlbLZbOE2SW VUAmmcrFM/LJlouh0oo5h/QZwb68iVGg6hYCCbPsHO5oNJlCUSBbDAvIyojla0EdZEbV UVBg==
X-Gm-Message-State AElRT7Gy1bOckdniRxdW8fzKECvi6rNYMR0yK2C0xykYTSnUp65BLDBL Nvya7Ouq4Jrp8zlEzSsOQV5bYzFwexcZSZn4cw2ziRv1
X-Google-Smtp-Source AG47ELulmCtTu5x+Tcrov4ZVG4TpI75Pff2E+1Ofclh5mJmvb/uIIFDtgZtze11hc94fiAIXH9P9RhUULpiQSBk/q3E=
X-Received by 10.36.163.193 with SMTP id p184mr1115361ite.9.1519970891255; Thu, 01 Mar 2018 22:08:11 -0800 (PST)
In-Reply-To <CAHQakpUAY-KX4tmAO5K0x9eA08yVPK8e+3tNq82YO0eGJj23-A@mail.gmail.com>
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2607:f8b0:4001:c0b::22a
X-Content-Filtered-By Mailman/MimeDel 2.1.21
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:13787

Show key headers only | View raw


On Fri, Mar 2, 2018 at 12:37 PM, don fong <dfong@dfong.com> wrote:

> Chet, thanks.  in subst.c there is code that looks similar to what i had
> suggested.  but i don't see the tests that i submitted.  i also don't see
> the change listed in CHANGES?
>

It's in the file CWRU/CWRU.chlog:

                                   2/24
                                   ----
subst.c
        - parameter_brace_expand_error: add parameter saying whether or not
          we are checking whether value is null, so we can have different
          error messages for ${x:?} and ${x?}. Report and fix from
          don fong <dfong@dfong.com>

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: misleading error message from variable modifier Clark Wang <dearvoid@gmail.com> - 2018-03-02 14:07 +0800

csiph-web