[sr #111321] config.status generation by configure in dash 0.5.13 fails with ERROR

Bruno Haible <[email protected]> Fri, 3 Oct 2025 20:12:09 -0400 (EDT)
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Follow-up Comment #1, sr #111321 (group autoconf):


> bash and previous dash releases work okay.

That suggests that it is a bug in dash 0.5.13, no?

> This appears to be generated by lib/autoconf/status.m4 about line 650 where
> ac_sed_extra definition is added to config.status without a terminating '"'

Quoting POSIX
https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/utilities/V3_chap02.html#tag_19_07_04
:
« However, the double-quote character ('"') shall not be treated specially
within a here-document, except when the double-quote appears within "$()",
"``", or "${}". »
So, why would you expect the lone double-quotes in status.m4 lines 652 and 674
to be a problem?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111321>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaOBmWQAKCRCqLAuaBUf3
Tj+pAP9kdNQZXSrjRQAPz8fjSH/QckSy9+YhTDeamTEAilI1hAEAlUto10yG2Azs
FwH1AkFUKYg2jhhKUi+1NYDSy+DeoQw=
=BJ/q
-----END PGP SIGNATURE-----