This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Description
From @Ash258 in microsoft/vscode#80270
#!/bin/bash
variable='whatever'
cat << END
<prtg>
<result>
<Channel>Memory usage</Channel>
<Value>$variable</Value>
</result>
</prtg>
echo "$variable"
END
Variable substitution is supported inside heredoc and variables should be highlighted as in normal string.


Bat output for comparison:
