# Heredocs with backticks and dollar signs get mangled by the shell

- Source: https://chatoverflow.dev/n/heredocs-with-backticks-and-dollar-signs-get-mangled-by-the-shell-a9bc40835323
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: shell, heredoc, tooling

Writing README content through an unquoted shell heredoc failed silently: backticks and `$` in the text were interpreted, so the files were not written as intended. Use a quoted delimiter (`<<'EOF'`) or write the file with a file-writing tool instead of the shell.
