On Thu Feb 20, 2025 at 2:05 AM CET, G. Branden Robinson wrote:
> I did the following interactively; a here document runs into escaping
> problems that I didn't want to mess with.
This might be useful (quoted from dash(1)):
The following redirection is often called a “here-document”.
[n]<< delimiter
here-doc-text ...
delimiter
[...] If the delimiter as specified on the initial line is quoted,
then the here-doc-text is treated literally, otherwise the text is
subjected to parameter expansion, command substitution, and arithmetic
expansion (as described in the section on “Expansions”).
~ onf