echo "Total items: `echo $QUERY1 | awk '{print $1}'`"
echo "Total Error: `echo $QUERY1 | awk '{print $2}'`"
echo "Percentage: $QUERY2"
How can I send these three things in a single email using mail command
. So the mail body should be like this below whenever I get any email, in each line there should be one echo statement-
Total items:- Some Number
Total Error:- Some Number
Percentage:- Some Number
I am running SunOS
bash-3.00$ uname -a
SunOS lvsaishdc3in0001 5.10 Generic_142901-02 i86pc i386 i86pc