Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16079
| Path | csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Joan Bruguera Micó <joanbrugueram@gmail.com> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: Obscure issue with process substitution since bash-5.0.016 upgrade |
| Date | Fri, 3 Apr 2020 03:50:00 +0200 |
| Lines | 49 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.43.1585895112.2644.bug-bash@gnu.org> (permalink) |
| References | <CAPOc31_Ec+niCsfMfK39LNDXmL=jiJhqTzBOELNonSN-=mx_ug@mail.gmail.com> <e1e0764a-ebde-6df8-b328-de73a135a051@case.edu> <CAPOc31806dcs0qR36N7uBtkwXb7Z8AXTWEz0p7ReqQhqLZgLqw@mail.gmail.com> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | usenet.stanford.edu 1585895112 30930 209.51.188.17 (3 Apr 2020 06:25:12 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | bug-bash@gnu.org |
| To | chet.ramey@case.edu |
| 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:content-transfer-encoding; bh=u8m94ewmTrkT9jUDjzQ5ThehrKR/YMDtg7VIXH/U8tU=; b=SVoGInBFWEcjITbmqomAp7DpTx1t/ayaaBgk+cX8YBFXnkwSDkmKcKqeM9F1xxO0b4 d+okDGP2R1pdOQAfaMQVfgsn+JtJ225P8VN8s+td6ZYRBrLIP+wMPo+TYHGZsTnCK2IE zqKASWnsoHjPNF077hzYBi45KvtmtEM/XUV7c5OTa+vuw6dFvbcwWcmPYPxmnXM2l3ct w7bkMp/5HwNx7OMNtsyMykXzMWHEbfF3LQnJ4I3xYquNAdm5L/Efgtd0CbVc56BG4nLD Fh1+pjY/pMWXzLVLl4uCzR0+JZw+EyT4p+eJ+/dS2ZHM9vEkowDRDWMaQBPvr4QWrqzT F+vw== |
| 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:content-transfer-encoding; bh=u8m94ewmTrkT9jUDjzQ5ThehrKR/YMDtg7VIXH/U8tU=; b=oMoQHmjTk3JBKZOhf9tFma7l5B3VHc1YxfU/Z6iMYK+Blu+dXR3x9dp99KvEvDb+5G KN3NsWc1gkFm4XXSOooOb6xcs5aSo/a+06NUR/KKmyKskupQTSenC9hylWL6QLfXvFQs 3m8/Khhtx0mdrhJs4N9FazXEW/gW+78yUvYsW0Gu1TrS1rxmNH+JlctBmajru/j/mbQ3 EVm1XqKC6S/4vd112kajTSkmjsfh1TJ8h0AvO6pfCqrIo89onTxL1e2PuQ8VtZpYtnn+ mXWcBRjlr3P9h2WzVDDyG6nExTy97R9YY+PjyDWiVXJV6nqXPm46Nf+v10Agz43k9oPx rO9w== |
| X-Gm-Message-State | AGi0PubTkLw3MBtW5eDESD8vQGP1jNzTV3QFEFMOEf+4+0o0ONIFrouO FkcYfd4q0BE7M98B4fmPNIJtfk4mvjyj5Z9DV2I= |
| X-Google-Smtp-Source | APiQypIPcI09/snaK5ARoy66Cf87FKc3LJCY7GS8Ftz0bCNjPmOOzcS+diWIiTNwlJQ6k5gIWV2RD+b8AbD/iDnhUMw= |
| X-Received | by 2002:adf:a55b:: with SMTP id j27mr6174413wrb.418.1585878626423; Thu, 02 Apr 2020 18:50:26 -0700 (PDT) |
| In-Reply-To | <e1e0764a-ebde-6df8-b328-de73a135a051@case.edu> |
| X-detected-operating-system | by eggs.gnu.org: Genre and OS details not recognized. |
| X-Received-From | 2a00:1450:4864:20::42b |
| X-Mailman-Approved-At | Fri, 03 Apr 2020 02:25:11 -0400 |
| 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 | <CAPOc31806dcs0qR36N7uBtkwXb7Z8AXTWEz0p7ReqQhqLZgLqw@mail.gmail.com> |
| X-Mailman-Original-References | <CAPOc31_Ec+niCsfMfK39LNDXmL=jiJhqTzBOELNonSN-=mx_ug@mail.gmail.com> <e1e0764a-ebde-6df8-b328-de73a135a051@case.edu> |
| Xref | csiph.com gnu.bash.bug:16079 |
Show key headers only | View raw
Thanks for your attention and the provided reduced patch. I can
confirm that, applied over bash-5.0.16, this solves my issue, both on
the test case as well as the bigger application from which it was
extracted.
Regards,
- Joan Bruguera
On Thu, 2 Apr 2020 at 23:20, Chet Ramey <chet.ramey@case.edu> wrote:
>
> On 4/1/20 10:15 PM, Joan Bruguera Micó wrote:
> > I'm having a problem with a script that used to work, which I reduced
> > to the following test case:
> >
> > #!/bin/bash
> >
> > function docat() {
> > for x in 1 2 3 ; do true; done
> > cat "$@"
> > }
> >
> > for x in $(seq 25); do
> > docat <(echo a) <(echo a) <(echo a) <(echo a) <(echo a) <(echo a)
> > done
> >
> > Expected behaviour: A lot of lines with an "a" are printed
>
> Thanks for the report.
>
> Yes, this is a problem, as you discovered, with bash-5.0 patch 16. There is
> a better way to solve the problem that patch attempts to solve, and the
> enclosed patch to bash-5.0.16 does it.
>
> 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/
--
Joan Bruguera Micó - PGP key id: 88A7 A061 6B47 0CE1 EB4E D431 8744
44D1 21CE B72E
Back to gnu.bash.bug | Previous | Next | Find similar
Re: Obscure issue with process substitution since bash-5.0.016 upgrade Joan Bruguera Micó <joanbrugueram@gmail.com> - 2020-04-03 03:50 +0200
csiph-web