5

Help with changing text file layout

view full story
linux-howto

http://www.unix.com – Hi there, I am with this one column input text file to change layout, please help. Thanks. I have awk, sed. $ cat input Code: Median 1.0 2.3 3.0 Median 35.0 26.3 45.7 10.1 63.1 Median 1.2 2.3 3.4 4.5 And the desire output should be Code: Median 1.0 2.3 3.0 Median 35.0 26.3 45.7 10.1 63.1 Median 1.2 2.3 3.4 4.5 (HowTos)