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. Thanks again, Quoting Hal Burgiss <[EMAIL PROTECTED]>: > On Wed, Sep 03, 2003 at 05:58:46PM -0500, Ezra Nugroho wrote: > > it's hard to find. > > > > I want to be able to do: > > > > echo "first line"\newline"second line" > > > > in a bash script instead of > > > > echo "first line" > > echo "second line" > > > > $ echo -e "first line\nsecond line" > first line > second line > > $ printf "first line\nsecond line\n" > first line > second line > > -- > Hal Burgiss > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list