1

Print the row element till the next row lement appear in a column

view story
linux-howto

http://www.unix.com – Hi all I have file with columns Code: F3      pathway      CPS F2 H2 H4 H5 H6      no pathway    CMP H7 H8 H9 H10 My expected output is Code: F3      pathway      CPS F2        pathway      CPS H2        pathway      CPS H4      pathway      CPS H5      pathway      CPS H6      no pathway    CMP H7      no pathway  (HowTos)