Dear Vihang
   
  The script works perfectly after I modified it as you mentioned.
   
  Thanks a lot.
   
  Regards
  Vidyadutt.
  You can avoid it by changing the about code to..

for RECORD in `cat tst|awk '{print NF}'`;
do
if [ $RECORD -ne $FIELDS ]; then
NM_CNT=$(($NM_CNT+1))
printf "NM_CNT=$NM_CNT\n"
fi
done
                                
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to