Hi,

I'm not gonna fix any code but I'll help you with whatever I can..

> I don't know how many lines are present in the file.

use "wc -l" for this

> Q2)
>
> I have the following content on a file.I need to replace '2' in each line
> with a different value which are present in a file

Looks like a complicated operation. It'll be better if you do it in
perl or something :p


Sharad

--~--~---------~--~----~------------~-------~--~----~
l...@iitd mailing list -- group http://groups.google.com/group/iitdlug
-~----------~----~----~----~------~----~------~--~---

Reply via email to