On Wed, 1 Oct 2014, Russell Stuart wrote: > 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
This is wrong. Every script starting with #!/bin/sh must work with a POSIX shell that supports “local” and “echo -n” (Policy §10.4). There are currently three implementations of that in Debian, maybe four (posh). Do not port to dash. dash has bugs, and I’ve personally found a dashism in Ubuntu’s checkroot.sh (by running hardy with mksh as /bin/sh). Also, dash supports more nōn-standard things than, say, posh (or heirloom-sh, which lacks “local” though). bye, //mirabilos -- [16:04:33] bkix: "veni vidi violini" [16:04:45] bkix: "ich kam, sah und vergeigte"... -- 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.1410021146470.3...@tglase.lan.tarent.de