On Tue, 2014-09-30 at 13:08 +0200, Thorsten Glaser wrote: > 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.
I am not a fan of any particular variant of *sh. They are all horrible computer languages. Nothing over a couple of lines should be written in them, as they are idiosyncratic, error prone and basic software engineering processes (like units tests) difficult. The only reason I ported things to dash is /bin/sh is now linked to it, which in view makes it the standard shell. Every script starting with #!/bin/sh must work with. If I can't get it working because of a missing feature like arrays then I have to change it to #!/bin/bash or something, and add an explicit dependency. It's the additional dependency I find irksome. If I am going to add one, whether it is to bash, mksh or any other variant doesn't really matter - they are all equally bad as programming languages. If I wasn't so lazy, I'd move them to a real computer language.
signature.asc
Description: This is a digitally signed message part