[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash-5.1-beta available
From: |
Andreas Schwab |
Subject: |
Re: Bash-5.1-beta available |
Date: |
Fri, 11 Sep 2020 12:39:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
On Sep 10 2020, Chet Ramey wrote:
> yy. Process substitution processes now get their input from /dev/null, since
> they are asynchronous, not interactive, and not jobs.
That breaks scripts that want to filter stdin with a process
substitution, eg:
while read ...; do ...; done < <(filter)
The reason for using a process substitution is so that the loop can set
shell variables.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
- Bash-5.1-beta available, Chet Ramey, 2020/09/10
- Re: Bash-5.1-beta available,
Andreas Schwab <=
- Re: Bash-5.1-beta available, Jesse Hathaway, 2020/09/11
- Re: Bash-5.1-beta available, Oğuz, 2020/09/11
- Re: Bash-5.1-beta available, Chet Ramey, 2020/09/11
- Re: Bash-5.1-beta available, Dale R. Worley, 2020/09/21
- Re: Bash-5.1-beta available, felix, 2020/09/23
- Re: Bash-5.1-beta available, Andreas Schwab, 2020/09/13