Need help adding an IF / ELSE statement to my Bash Script
i have a bash script that cron runs every hour to strip certain text from a file, and send it to me via email every hour, then deletes the file. it works fine, but somtimes another file hasnt been written yet, so i recive an email with a null message. i want to add an IF/Else statement to this script so if there is no file present, it wont send the message... the Advanced Bash Shell Script how-to hasnt been much help.... i would appreciate any feedback....
Last edited by Relix; 08-01-2002 at 01:55 PM.
|