The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 02-01-2008
ennstate ennstate is offline
Registered User
  
 

Join Date: Mar 2007
Location: Chennai
Posts: 222
May you could try this,

Code:
#!/bin/ksh
 if [[ -s /tmp/report ]] ; then
   echo "Ready to be mailed"
 else
   echo "File is empty"
 fi
Please avoid using "urgent" while posting as this would tend to not to look at it.

Thanks
Nagarajan G