Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > gnu.bash.bug > #16855

Re: Bash parameter expansion (remove largest trailing match, remove largest leading match, pattern replacement) does not work

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Bruce Lilly <bruce.lilly@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Bash parameter expansion (remove largest trailing match, remove largest leading match, pattern replacement) does not work
Date Sat, 29 Aug 2020 15:54:12 -0400
Lines 16
Approved bug-bash@gnu.org
Message-ID <mailman.1735.1598730873.2469.bug-bash@gnu.org> (permalink)
References <CAPyES363zNvUZHWo6imXOyC3UPU5FAbsyFGzWkcJMO-HBhT6gQ@mail.gmail.com> <CAFLRLk_k+J3-Nt9UJ4Fb8c-RewPnVjf_b=ShqGGASG0GmREAhg@mail.gmail.com> <CAPyES3685SjyZfrL+M_56wGqxvh=N9xNchWJ1xqMSrmmEJb9ww@mail.gmail.com> <CAMLQOtQtYxMiiP9=nN72AKC+hKTJ06rLxM7=Nt5LF1M47jvWrA@mail.gmail.com> <CAPyES36MM0OL2gDnaqfpywoyRwk29NWSXWTNFSCgA4a+jBfENQ@mail.gmail.com> <CAFLRLk8eb+PNzuGp_teBrEZC=U1oHMa66vFcch3pH=eEmt6+=Q@mail.gmail.com> <CAPyES34VNuisQZy-pa75yL2MPzrR8UoD_bwZp6B8eR7Ko=xG0g@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 1598730874 1939 209.51.188.17 (29 Aug 2020 19:54:34 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash@gnu.org
To Koichi Murase <myoga.murase@gmail.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:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ox5wv5mrwnK3BLp+9tL2sNLBvVnHCPYb+s2UEnfKQyA=; b=gxSToQMemcOWXUYAdsCoR4eiQ/YWo73TUyW2p0hwm980qM5D/CU/bLxli1dGo7MoAz 1imEFx/Y1loWQGvZxKNmOpZu/MkKy+NuQ221niOQZZdEBKxMlYhxOTCbMrMd+vS8VuX7 vhNP+b3x2plWw5GuSYpdfHs+s61gzmHZmpCTK1cwZrKHtt5hD/eFsqJy0K79CBCGjtTe LMw0ev1ZR9q3+eTjIjTbcn6hOBbERSwnZvfoTkxMQbkiTYfC7qXdm4n62ZlV9sv3ZDX7 VQC2/CfTzC7DlLT9/jhbtNvnP1TFXkHvtUEn8YFpdIXowxhdXKZZp1o86yOLsVr94Etv UCDQ==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ox5wv5mrwnK3BLp+9tL2sNLBvVnHCPYb+s2UEnfKQyA=; b=RuXsiFdL2GOosY4WzTo9NHu8U+9rqA3vtVR6cW6bOEHqKm7U/5IJsJJtPVGXQuCmQh 2mUVpBvzCxmL9jZKaUrdavwm+Lc8v3QE6L4bYKnASILypkpw1+3hdszBkqY1zQOHhTUy pKHvyo6n1V/wN3ptd0n8iYiT2ZMYXsjzMAr9BVBxXobfJn31VALfYaKo5mQsrf7GS+Ir RbvK0L2/WA5G2se/azpxwDAeIEywWtrmpPQ6gYFqAbqu5cob6+4fmtXrVP16bskn1i83 IT3LOq9kBeyn1Sffmq+Jq9F51oGtD0SIFrJec/UGzfQjy1BmCJG008XXv/m2i6sjlCaX LC7A==
X-Gm-Message-State AOAM532aomtBhrawUdoHbnpzgfriSg5SrWnGIZP8DEYUnY0T06biXoYm LLa+7eaxC5+jdLyWkj1YLI2MmRkiu6vh1EB8OL8=
X-Google-Smtp-Source ABdhPJxytmy45n1s52Z2Xe7E2OPEsU7q9DutyjdqgNiY8HRtYf/D+7SL4BTxWSlHRCINHN+86yrANba3Ol1BTFqwF20=
X-Received by 2002:a92:1510:: with SMTP id v16mr3782247ilk.241.1598730866595; Sat, 29 Aug 2020 12:54:26 -0700 (PDT)
In-Reply-To <CAFLRLk8eb+PNzuGp_teBrEZC=U1oHMa66vFcch3pH=eEmt6+=Q@mail.gmail.com>
Received-SPF pass client-ip=2607:f8b0:4864:20::12f; envelope-from=bruce.lilly@gmail.com; helo=mail-il1-x12f.google.com
X-detected-operating-system by eggs.gnu.org: No matching host in p0f cache. That's all we know.
X-Spam_score_int -20
X-Spam_score -2.1
X-Spam_bar --
X-Spam_report (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action no action
X-Content-Filtered-By Mailman/MimeDel 2.1.23
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
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 <https://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>
X-Mailman-Original-Message-ID <CAPyES34VNuisQZy-pa75yL2MPzrR8UoD_bwZp6B8eR7Ko=xG0g@mail.gmail.com>
X-Mailman-Original-References <CAPyES363zNvUZHWo6imXOyC3UPU5FAbsyFGzWkcJMO-HBhT6gQ@mail.gmail.com> <CAFLRLk_k+J3-Nt9UJ4Fb8c-RewPnVjf_b=ShqGGASG0GmREAhg@mail.gmail.com> <CAPyES3685SjyZfrL+M_56wGqxvh=N9xNchWJ1xqMSrmmEJb9ww@mail.gmail.com> <CAMLQOtQtYxMiiP9=nN72AKC+hKTJ06rLxM7=Nt5LF1M47jvWrA@mail.gmail.com> <CAPyES36MM0OL2gDnaqfpywoyRwk29NWSXWTNFSCgA4a+jBfENQ@mail.gmail.com> <CAFLRLk8eb+PNzuGp_teBrEZC=U1oHMa66vFcch3pH=eEmt6+=Q@mail.gmail.com>
Xref csiph.com gnu.bash.bug:16855

Show key headers only | View raw


On Sat, Aug 29, 2020, 15:40 Koichi Murase <myoga.murase@gmail.com> wrote:

> Don't worry.  In this case, the GPL doesn't apply.  Please read the
> following Q&A.
>
> https://www.gnu.org/licenses/gpl-faq.en.html#IfInterpreterIsGPL
>
> Even if your original `shellbug' is licensed under something other,
> and it prohibits to make it public, you can still create another
> script to reproduce the same issue.  [...]
>
It's a bit more complicated than that; if, for example, some excerpt ended
up in regression tests, there would be a question about whether or not
there was a copyright violation.  As I understand the GPL (IANAL), it
requires all parts of a "work" to be GPL'd, and that wouldn't be possible
for any parts of the script that ended up in bash regression tests.

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


Thread

Re: Bash parameter expansion (remove largest trailing match, remove largest leading match, pattern replacement) does not work Bruce Lilly <bruce.lilly@gmail.com> - 2020-08-29 15:54 -0400

csiph-web