On Mon, Sep 15, 2014 at 1:11 PM, Michal Hlavinka <[email protected]> wrote:
> Back to the topic. ksh in rhel 7 won't be updated any time soon. First,
> there is no stable release to update to. Second, it changes behaviour of
> `...` vs. $(...) and when it's supposed to be completed. We can't throw that
> at our users in released version. It would break their scripts and make them
> angry. So this will get in in next major update (rhel 8). If you want this
> to be backported, you have to contact the official support and it will be
> evaluated by product management.

Wasn't that one resolved? $(...) redirects stdout of the subshell into
the variable but doesn't have more side effects like waiting for
forked process children (why should it? Normal subshells do not wait
either nor does the shell at its base level. Also waiting actually
breaks deamon scripts and prohibits optimisations like using a plain
file for stdout and later mmap() it, so this is a no go area. Finally,
there had been backwards compatibility issues with Solaris, Illumos
and AIX where system scripts choke at the notion that $(...) should
wait for process children forked which the shell can't track anyway).

Irek
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to