#3927·micro

shell syntax highlighting fails with quote character in herestring

Author: dicktyrCreated Dec 4, 2025Updated Sep 12, 2026
Labelssyntax

works as expected without quotes

hs <<< sss
	abc
sss

but it fails if heredoc contains an odd number of unescaped quotes (single or double)

hs <<< sss
	ab'c
sss