I have a text file as input, which lokks like for exemple:
# # #
12 2 3
12
12
12
12
12
12
12
It has three column. My question is, i want to copy the value of 2nd column, 1st row to the entire 2nd column. similarly for the third column also. My result should look like:
Actually i am dealing with large number of rows and columns and the values are automatically generated. I would e very glad if any one could help me to solve this problem. Thanks
You are welcome Dinesh, trust me this is one of the BEST forums I have seen till date for learning UNIX and related stuff.
You are very much welcome to join the learning camp. Enjoy learning
Thanks,
R. Singh
"Where there is a SHELL there is a way."
I am sorry for confusion, seems user has shown line ### before input files, which I didn't put in input files during code creation and you have considered in your code
But both codes seems to be working without that line and with that line too.