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)
Th
On Fri, Sep 11, 2020 at 5:40 AM Andreas Schwab wrote:
> The reason for using a process substitution is so that the loop can set
> shell variables.
Would using lastpipe be an option instead?
lastpipe
If set, and job control is not active, the shell runs
11 Eylül 2020 Cuma tarihinde Andreas Schwab yazdı:
> 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 proces
On 9/11/20 6:39 AM, Andreas Schwab wrote:
> 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
> substitut
On Sep 11 2020, Jesse Hathaway wrote:
> On Fri, Sep 11, 2020 at 5:40 AM Andreas Schwab wrote:
>> The reason for using a process substitution is so that the loop can set
>> shell variables.
>
> Would using lastpipe be an option instead?
No, the scripts are out there and will break.
Andreas.
--