#!/bin/sh # # Email the file specified on the command line if it is not empty. # # Usage: nonzero_mail fname # # D. Edwards <david@btdt.org> Mon Jun 27 21:13:31 EDT 2005 if [ -s $1 ]; then cat $1 /home/domains/btdt.org/www/prog/ansys/apdl/mac/util/signature.txt \ > /tmp/nonzero.out cat /tmp/nonzero.out | mail -s "Ansys APDL Tool Library update notification" \ david@btdt.org deedwards@parker.com \ jr@btdt.org jrinaldi@parker.com \ dbayna@parker.com fi