in reply to Re: awk 2 perl oneliner
in thread awk 2 perl oneliner

The output swaps the data associated with >name1 and >name3.
Note, that the output shown in OP is incorrect. Actual output will be:
>name3 text text text text >name1 some kind of text
So it doesn't swap anything.

Replies are listed 'Best First'.
Re^3: awk 2 perl oneliner
by space_agent (Acolyte) on Mar 06, 2010 at 11:18 UTC
    Right, my mistake. Though the order of output is not important to me in this case.