Command to swap even and odd numbered lines in a file
G'day Gang!
I'm looking for a command to swap the even/odd numbered lines in a file. Example input file: Code:
1 Code:
2 Any help would be greatly appreciated. Thanks! |
|
LOL. I swear to you I have hunted for days banging my head on that. I knew it would be super simple, which I why I was reluctant to ask about it.
Thanks very much! |
All times are GMT -5. The time now is 12:02 PM. |