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]
If you're doing this in a bash script anyway, why not use () ? ( if [ ... ]; then echo "message part 1" fi ... echo "message last part" ) | mail ... Steffen -- Steffen Grunewald * * * Merlin cluster admin (http://pandora.aei.mpg.de) MPI für Gravitationsphysik (Albert-Einstein-Institut) Am Mühlenberg 1, 14476 Golm, Germany (http://www.aei.mpg.de) e-mail: steffen.grunewald(*)aei.mpg.de * +49-331-567-{fon:7233,fax:7298} -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list