Hi, using cygwin, 'wc' count is alway one less than actual lines in file= . Is that defect or designed.? thanks Saifullah Qazi Test Consultant SoftTest Labs Tel: +1(778) 855-1106 http://www.softtestlabs.com