On Wed, Sep 03, 2003 at 06:17:53PM -0500, Ezra Nugroho wrote:
> So -e does it for echo. I would never think of that.
> 
> 
> What I really want to do is the following:
> 
> msg=$(msg)\n"new message"
> msg=$(msg)\n"new message"
> msg=$(msg)\n"new message"
> msg=$(msg)\n"new message"
> 
> cat msg |mail -s REPORT [EMAIL PROTECTED]
> 
> This time \n doesn't work, everything is sent in the mail in one long line.
> That's my real headache.

[EMAIL PROTECTED] tmp]$ msg=hi
[EMAIL PROTECTED] tmp]$ msg="${msg}\nnew message"
[EMAIL PROTECTED] tmp]$ echo -e $msg
hi 
new message


-- 
Hal Burgiss
 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to