On Sun, 28 Sep 2014, Russell Stuart wrote: > - pipefail,
mksh has “set -o pipefail” and the PIPESTATUS array. > - local variables, mksh has them, of course. ksh93 only has them in functions declared with the “function” keyword, and lacks a default “alias local=typeset” to make it useful. Note that Debian Policy §10.4 prescribes local support for /bin/sh. > - array variables. Sure, in all other shells. > If dash had those features conversion could almost be mechanical. You really really should be looking at replacing any ash variant with mksh. It’s not that much bigger (at least if you add -DMKSH_SMALL to CPPFLAGS and build with klibc or dietlibc or so), but much saner. bye, //mirabilos -- <Uli> Du hast Recht. <Uli> Du hast Recht! -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/alpine.deb.2.11.1409301305070.20...@tglase.lan.tarent.de