I have a file with columns separated by a string. For example:
one<xx>two<xx>three<xx>four<xx>five<xx>six
one11<xx>two11<xx>three11<xx>four11<xx>five11<xx>six11
I want to extract the text of specific columns, for example, column 1, 3, and 5. So the output should be:
one<xx>three<xx>five
one11<xx>three11<xx>five11
How to do this? using commands like awk
for example?