I have a txt file like this
AAAAAAAAAA BBBBBBBBBB CCCCCCCC DDDDDDDDDDD EEEEEEEEEEE FFFFFFFFFFF GGGGGGGGGGG HHHHHHHHHHH IIIIIIIIIII groups of 3 lines with a line feed between.
I want to invert the first two lines of each group, making the file like this
BBBBBBBBBB AAAAAAAAAA CCCCCCCC EEEEEEEEEEE DDDDDDDDDDD FFFFFFFFFFF HHHHHHHHHHH GGGGGGGGGGG IIIIIIIIIII how do I do that from terminal?
EDIT: I have uploaded a sample of my text file to here if you need to test your answer against it.