dash 0.5.13.1: heredoc parsing failure

Hadrien LACOUR <[email protected]> Thu, 6 Nov 2025 15:52:59 +0100
Newsgroups org.kernel.vger.dash
Message-ID <CAKmiXchO=0x573QEG6eZnOVkd8K=0PCiNM2x=qqrQPxDsoWpKQ@mail.gmail.com>
Hello, I'm on a ARM64 MacOS machine and updated from 0.5.12 to 0.5.13
via Macports only to get a very strange failure (nothing printed)
attached as a script. I then tried on
5139d6a27763fc0be386e15634db21e45598b299 ("shell: Fix unsigned char
promotion and truncation") since my problem seemed similar but not
cigar; tried using a modern clang (21) instead of the system one too.

Hope GMail doesn't botch anything (nothing else at work).
heredoc-fail.sh (application/x-sh, 555 B)
conanfile=xyz

cat <<'EOF'
{
  "version": 5,
  ${conanfile+"\"include\": [\"build/current/CMakePresets.json\"],"}
  "configurePresets": [
    {
      "name": "default",
	  "description": "Default config ${conanfile+for Conan }generated by $0",
    }
  ],
 "buildPresets": [
    {
      "name": "default",
      "configurePreset": "default",
      "jobs":
    }
  ],
 "testPresets": [
    {
      "name": "default",
      "configurePreset": "default",
      "execution": {
      },
      "output": {
        "outputOnFailure": true
      }
    }
  ]
}
EOF