looking for some solutions? You are welcome.

SOLVED: Move every first row down to the second row

TempoChocolate:

I have the following sample text:

a b c
x_y_
d e f
x_y_
g h i
x_y_
k l m
x_y_

I need it to be formatted as follows:

x_y_ a b c
x_y_ d e f
x_y_ g h i
x_y_ k l m

Using sed, awk or something else in bash, how do we accomplish this?



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
Share:

No comments:

Recent