Hi All,
Surprisingly my program is working fine now,
it's printing me all the lines of data file.
I did not do any thing to my data file and in script as well.
i thought of testing my luck once, suddenly it started working fine.
i dont understand what was the problem previously.
i dont understand how it's working now, with out doing anything in either of them(data and program)
full of confusions, but on the whole it's a nice experience to a fresher to Shell Scripting.
I thank all the people who responded me.
Thaking you all once again.
Regards,
Ravi Kumar Garlapati