On Sun, 12 May 2019 at 10:14, L A Walsh <b...@tlinx.org> 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



Reply via email to