Formatting a mail

Paul Ward pnward at googlemail.com
Sat Oct 13 15:22:13 UTC 2007


Hi,

Just wanted to say I have figured out a way to do it. as follows,
although a little crude it does give me the result I was after.

for m in `ls $REPORTS|grep report` ;do
STATS=`cat $m`
echo $STATS >> /tmp/pgstats
echo " " >> /tmp/pgstats # Gives me the formatting
done
mail -s "Printer Reports" pnward at googlemail.co.uk < /tmp/pgstats

Thanks for some pointers anyway.




More information about the users mailing list