Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16079
| 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 | 2020-04-03 03:50 +0200 |
| 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> |
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