I have text file where the contents are tab delimited and are as follows (without any headers)
A B C D E
05 16 99 21 .0000
05 16 99 21 .0000
05 16 99 99 .0200
05 99 99 99 .0140
I need to generate a text file of this format
A B D New E
05 16 21 99 .0000
05 16 21 99 .0000
05 16 99 99 .0200
05 99 99 99 .0140
Column C from the original txt file should be skipped, D from the new file should match D from the old file and a new coulmn to be added with default value of 99.
Please let me know how to do it...
A B C D E
05 16 99 21 .0000
05 16 99 21 .0000
05 16 99 99 .0200
05 99 99 99 .0140
I need to generate a text file of this format
A B D New E
05 16 21 99 .0000
05 16 21 99 .0000
05 16 99 99 .0200
05 99 99 99 .0140
Column C from the original txt file should be skipped, D from the new file should match D from the old file and a new coulmn to be added with default value of 99.
Please let me know how to do it...
Comment