delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2010/04/01/23:21:23

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
From: "Stephen J. Turnbull" <turnbull AT sk DOT tsukuba DOT ac DOT jp>
To: djgpp AT delorie DOT com
Subject: Re: Bash bugs (was: djgpp/libreadline bug)
In-Reply-To: <f237410b-8271-4119-8608-062a3c703d81@z7g2000yqb.googlegroups.com>
References: <013d25d6-f34d-4686-9c68-0de775d5bf59 AT t20g2000yqe DOT googlegroups DOT com>
<7705c9031003290422w7015bbd6y5e8647aec1ba3f36 AT mail DOT gmail DOT com>
<109418c8-c160-4b9f-8e6c-a842da1b7a98 AT k13g2000yqe DOT googlegroups DOT com>
<83oci71dhr DOT fsf AT gnu DOT org>
<11fa369b-5fab-42ac-805f-1e7e74051411 AT l36g2000yqb DOT googlegroups DOT com>
<83fx3j1874 DOT fsf AT gnu DOT org>
<81255c92-b71b-4d8b-871c-fe057d72ddb7 AT u22g2000yqf DOT googlegroups DOT com>
<834ojz111c DOT fsf AT gnu DOT org>
<9e95b163-ba8a-467d-870e-4f3437dd9a96 AT y17g2000yqd DOT googlegroups DOT com>
<1433b3f4-9d44-455b-9465-e873fd2cb618 AT 33g2000yqj DOT googlegroups DOT com>
<l2i7705c9031003301830hc62e763euf24398f9661b0fcc AT mail DOT gmail DOT com>
<f6c09a3b-9e24-457a-9c5a-d2a2c75181aa AT 30g2000yqi DOT googlegroups DOT com>
<8d449cf5-3dce-48c8-b8e7-e535b037b4a6 AT 8g2000yqz DOT googlegroups DOT com>
<83zl1oxzat DOT fsf AT gnu DOT org>
<81hah9Fit3U1 AT mid DOT individual DOT net>
<4BB4C8EC DOT 8050909 AT iki DOT fi>
<f237410b-8271-4119-8608-062a3c703d81 AT z7g2000yqb DOT googlegroups DOT com>
X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" a03421eb562b XEmacs Lucid (x86_64-unknown-linux)
Date: Fri, 02 Apr 2010 13:21:02 +0900
Message-ID: <87eiiyqyc1.fsf@uwakimon.sk.tsukuba.ac.jp>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Rugxulo writes:

 > I still say that DASH (Debian Ash) is much easier to build, even
 > though it currently doesn't work. It should, in theory, be much easier
 > to get that working than trying to keep up with Bash (which is
 > humongous). DASH claims to be POSIX compliant, so it should work with
 > Autoconf.

The problem is that configure.in will contain shell snippets,
sometimes quite extensive.  Bash-isms often creep in.  bash is the
standard POSIX shell in most places (IIRC some BSDs still give users
csh by default, but bash is invariably installed somewhere), so few
users actually get bit unless they deliberately set /bin/sh to the
POSIX, the whole POSIX, and nothing but the POSIX shell.  OTOH, Debian
tries to be pretty strict about it, so maybe most GNU configure
scripts are bash-free by now.

It's worth a try, I guess, but be aware that it's not necessarily
going to be that easy; it might be better to concentrate these
headaches in one place (== maintaining bash, not de-bash-ifying
everybody's configure scripts).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019