|Ok I found the mistakes|
Im new to shell scripting/programming, anyhow learning from my mistakes
Precount=`sed q $file1`
Postcount=`sed q $file2`
if [ $Precount = $Postcount ]; then
echo "No Files Missing"
echo " Missing Files"
sdiff $file1 $file2 |grep '<'>>/cygdrive/c/Logc.log
Correct me if anything wrong in above script