I am writing a script in korn shell and need to do the following
1. Check if the incoming DATA file is of zero length
2. and if the DATA file is zero length check if the COUNT file is either empty or contains all zeros as nos
if [ -s DATAfilename ] and [ Count File contains nothing (empty) OR Count File contains all zeros]
An actual example would be useful.