How do I suppress blank emails? FOr e.g. in the following example, I will like to
some command | mail -s "tables altered on `hostname`" me@company.com
I get the following message "after" sending the message:
Null message body; hope that's ok
This is not ok. I do not want to send mail if there is no text.