01-13-2009
6,
0
Join Date: Jan 2009
Last Activity: 16 January 2009, 4:47 AM EST
Posts: 6
Thanks Given: 0
Thanked 0 Times in 0 Posts
Shell Scripting
Hi,
I have a text file as shown below,
0,D,R001,D,RAJA,N
0,O,R002,D,RAMA,N
0,D,R003,T,ROHIT,D,ASHA,N
0,T,R004,D,ROSHAN,D
I want to concatenate 3rd field with a 5th field, 7th field,9th field etc...
How can i do this?
2nd,4th,6th ,8th fields etc.. will be having only the following characters. "D,O,N,T". Not more than these 4 characters.
Please, can anyone help me to do this?