Today, I started writing a Bash script which installed a bunch of software, and needed to create a new script which the user could execute. I wanted this installer to be a single file, so the question arose how to create a new script?
I really didn't want to 'echo' a bunch of lines piped into a test…


