Re: bash exorcism experiment ('bug' 762923 & 763012)
- To: firstname.lastname@example.org
- Subject: Re: bash exorcism experiment ('bug' 762923 & 763012)
- From: Thorsten Glaser <email@example.com>
- Date: Thu, 2 Oct 2014 11:48:54 +0200
- Message-id: <[🔎] alpine.DEB.firstname.lastname@example.org>
- In-reply-to: <email@example.com>
- References: <20140927153218.GB1755@nl.grid.coop> <20140927163017.GA7300@grep.be> <20140927181845.GA2816@gaara.hadrons.org> <20140927184257.GA26444@x230-buxy.home.ouaza.com> <20140928021144.GE1755@nl.grid.coop> <20140928083350.GA4738@riva.ucam.org> <firstname.lastname@example.org> <alpine.DEB.email@example.com> <firstname.lastname@example.org>
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).
[16:04:33] bkix: "veni vidi violini"
[16:04:45] bkix: "ich kam, sah und vergeigte"...