makem.sh icon indicating copy to clipboard operation
makem.sh copied to clipboard

Escape backticks in makem.sh usage heredoc

Open snogge opened this issue 1 year ago • 0 comments

The content of heredocs are expanded both for variables and subshell commands, this means backticks must be escaped.

The alternative would be to quote the heredoc like this

cat <<'EOF'
Backticks are `fine'.
EOF

But then the $0 parameter would not be expanded.

snogge avatar Jun 27 '24 23:06 snogge