I have a situation where I have to duplicate the last 4 columns of a file. To make it clear here is an example:
A B C D E F G H
1 2 3 4 5 6 7 8
I J K L M N O P
Now I want to duplicate the last 4 columns of the file, so that the file looks such:
A B C D E F G H E F G H
1 2 3 4 5 6 7 8 5 6 7 8
I J K L M N O P M N O P
Any help appreaciated.
Thanks.
A B C D E F G H
1 2 3 4 5 6 7 8
I J K L M N O P
Now I want to duplicate the last 4 columns of the file, so that the file looks such:
A B C D E F G H E F G H
1 2 3 4 5 6 7 8 5 6 7 8
I J K L M N O P M N O P
Any help appreaciated.
Thanks.