toronto2003
IS-IT--Management
Hello All,
I've a unix script that runs as a cron job to look for three *.csv files on a particular machine, do a record count in the *.csv files and report it via email.
Currently even if there are no records in the *.csv files, it reports are record count=1. How can i take off this header information. If there are no records in the csv files, it should report as '0'.
Any help on this would be highly appreciated.
Thanks!
I've a unix script that runs as a cron job to look for three *.csv files on a particular machine, do a record count in the *.csv files and report it via email.
Currently even if there are no records in the *.csv files, it reports are record count=1. How can i take off this header information. If there are no records in the csv files, it should report as '0'.
Any help on this would be highly appreciated.
Thanks!