Hi Ravinder,
It Worked!!
Thank You so much!
Actually, the data that we will get would be run time data. And the first two columns namely var1 and var2 are highly unprdedicatble since these will be combination of various words. So I tried all possible combinations i knew but couldnt achieve this. Hope, this code works for all kinds ofvar1 and var2.
Now since, we have acheived this, I wanna know how can i use these variables to pass as parameters to another script? I dont know such advanced UNIX.. so can you please help me out..
---------- Post updated at 07:51 AM ---------- Previous update was at 07:37 AM ----------
One more requirement:
As in the code above, i want the varaibles to be reused in another script, so i cant get them printed on command prompt. I would like them to store somewhere where i can reuse them. So how can the above code be modified?
The code runs perfectly for as many as lines i enter! :-D Thanks a lot lot!