How do I print some text (in this case another bash script) exactly to some output file in bash?
So essentially I want to do something equivalent to the following but with special conditions:
echo [some multiline bash script] > output.bash
and output.bash would contain [some multiline bash script] exactly and no variable substitution occur