Re: bash exorcism experiment ('bug' 762923 & 763012)
- To: debian-devel@lists.debian.org
- Subject: Re: bash exorcism experiment ('bug' 762923 & 763012)
- From: Thorsten Glaser <tg@debian.org>
- Date: Thu, 2 Oct 2014 11:48:54 +0200
- Message-id: <[🔎] alpine.DEB.2.11.1410021146470.3949@tglase.lan.tarent.de>
- In-reply-to: <1412120586.5591.14.camel@russell-laptop.pc.brisbane.lube>
- 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> <1411893590.6958.92.camel@russell-laptop.pc.brisbane.lube> <alpine.DEB.2.11.1409301305070.20674@tglase.lan.tarent.de> <1412120586.5591.14.camel@russell-laptop.pc.brisbane.lube>
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"...
Reply to: