Search Results

Search: Posts Made By: rd5817
4,028
Posted By rd5817
How to swap order of pairs of lines?
This seems to be a question whose answer uses sed or awk.

For a file like:
a
b
c
d
e

How to swap the order of the line pairs, to end up with:
b
a
d
c
e

All lines from the original...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 04:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy