Files
ECC/scripts
L4XB 8435c911a5 fix(hooks): match here-document delimiters and comment starts the way bash reads them
A carriage return is part of a bash word and line, so after an LF delimiter a line ending in
\r no longer ends the body early and exposes the body as commands. In an expanded body, a line
ending in an escaping backslash is joined with the next before it is compared, so `EO\` and
`F` end an unquoted <<EOF and the command after it is checked. A # after an escaped blank, as
in `echo foo\ # && npm run dev`, is part of the word, not a comment.
2026-10-23 11:51:47 +02:00
..