makem.sh
makem.sh copied to clipboard
Escape backticks in makem.sh usage heredoc
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.