Subject: bug#35681: grep's ./configure doesn't work with plain /bin/sh

From: Miro Kropáček <[email-masked]>
Date: Sun, 12 May 2019 10:29:55 +0200

On Sun, 12 May 2019 at 10:14, L A Walsh <[email-masked]> wrote:
> Is it documented somewhere that bash's minimal config is POSIX compliant?
> I'm not sure, off hand.
Not sure either. The docs say: "This produces a shell with minimal
features, close to the historical Bourne shell" and
https://www.gnu.org/software/bash/manual/html_node/Bash-POSIX-Mode.html#Bash-POSIX-Mode
explicitly mentions that all that is needed is renaming 'bash' to 'sh'
to make it POSIX compliant (what has been done in my case).

Anyway, good news for grep is that this is not a grep bug (bashism). I
have found out that this is a regression in the bash project: it has
stopped working since bash-4.3.0.

--
http://mikro.atari.org