That's not the process I would have used under ksh. I would build up a variable in ksh using a here-document or a string that spans multiple lines. The equivalent process to your echo approach would be to append the strings to a variable using the dot operator (.). Maybe you want to read perlop now?
In reply to Re^5: Mail::Sendmail multiline Message
by Corion
in thread Mail::Sendmail multiline Message
by kafkaf55
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |