Why is this inconsistent? I would expect here docs and here strings to be functionally equivalent to redirecting input from a file. $ bash --version GNU bash, version 4.1.2(1)-release ...
This doesn't work, the comment doesn't contain the IP_ADDR string SSH_UN='user' IP_ADDR='192.168.1.101' cat <<"EOF" >> .ssh/config # VirtualBox (VB) on user's laptop at $IP_ADDR Host ...
I'm working with a bash script trying to stop it from attempting to replace variables inside my heredoc. How do set a heredoc to either A) escape the variable names instead of parsing them or B) ...