Date:Sun, 19 Jul 2020 15:21:07 -0400
From:Chet Ramey
Message-ID: <5f066ef0-1fed-ad5b-d564-490268d32...@case.edu>
| Maybe, but Posix says this isn't a variable assignment context, as POSIX
| defines variable assignments, and technically the shell shouldn't perform
Oğuz:
> > For context - I'm filtering a program's stdout and stderr
> > (separately), requiring successful exit statuses for the program and
> > both filters:
> >
> > set -u -o pipefail
> > { program 2> >(stderr_filter >&2) && wait $!; } | stdout_filter &&
> > ...
> Not sure if pro
20 Temmuz 2020 Pazartesi tarihinde Rusty Bird yazdı:
> Oğuz:
> > > For context - I'm filtering a program's stdout and stderr
> > > (separately), requiring successful exit statuses for the program and
> > > both filters:
> > >
> > > set -u -o pipefail
> > > { program 2> >(stderr_fi
Oğuz:
> `>&"$out" is very ugly though, it'd be nice if `{var}' thing worked at
> the RHS of redirection operator, like `>&{var}`, which, on bash 5.0.11,
> ignores `&' -another bug?- and redirects stdout to a file named `{var}'.
Probably more backwards compatibility than a bug - '>&word' (with word
On 7/20/20 1:10 AM, Oğuz wrote:
>> Bash Version: 5.0
>> Patch Level: 17
>> Release Status: release
>>
>> Description:
>> $! isn't set to the PID of 'bar' for
>>
>> foo > >(bar)
>>
>> if 'foo' is an external program (as opposed to a builtin or
>> function) -
On 7/20/20 2:32 AM, Rishita Saha16 wrote:
> Hi All,
>
> From what we have found out, it does not seem like the signal is SIGTTOU.
> We are working to find out more about it. Meanwhile, any insight would be
> helpful.
If the process isn't an interactive shell, it would be helpful to know why
it's
Chet Ramey:
> >> Description:
> >> $! isn't set to the PID of 'bar' for
> >>
> >> foo > >(bar)
> >>
> >> if 'foo' is an external program (as opposed to a builtin or
> >> function) - unless it's invoked via 'command'.
>
> Redirections are performed in the sub
On 7/20/20 4:28 AM, Robert Elz wrote:
> Date:Sun, 19 Jul 2020 15:21:07 -0400
> From:Chet Ramey
> Message-ID: <5f066ef0-1fed-ad5b-d564-490268d32...@case.edu>
>
> | Maybe, but Posix says this isn't a variable assignment context, as POSIX
> | defines variable assignm
On 7/20/20 10:11 AM, Rusty Bird wrote:
> Chet Ramey:
Description:
$! isn't set to the PID of 'bar' for
foo > >(bar)
if 'foo' is an external program (as opposed to a builtin or
function) - unless it's invoked via 'command'.
>