[Top][All Lists]

[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 Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]