Ubuntu Unix ships version sh (AT&T Research) 93v- 2013-09-23 which contains typeset -c.
I hope to get an official release before the end of this year and hope that vendors will pick it up. There are a lot of new features and many bugs fixed. On Mon, Sep 15, 2014 at 8:14 AM, Irek Szczesniak <[email protected]> wrote: > 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 >
_______________________________________________ ast-users mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-users
