Ahh. Here-doc. Have not used this in 10 years. Completely forgot to try this. Thanks for your assistance.
I wrote UNIX installers for many years and should have thought of this.
We have a solution, but I will try this as well since it will allow the code to be formatted a bit nicer.
FYI: We have to add some new features to a very old legacy application that generates source code. Therein lies the constraint to use the existing shell scripts and to not be able to add any files. Amazing what you will do when a large customer throws a lot of money at you.
My team and I sincerely appreciate your assistance with this issue. We spent too long on it and were just not getting anywhere.