the input is:
host0 param0:tt1rvgaram6:tt2rvg
host1 param2:tt1hvgaram4:tt1lvgaram8:tt2hvgaram10:tt2lvg
host2 param1p1rvgaram7p2rvg
host3 param3p1hvgaram5p1lvgaram9p2hvgaram11p2lvg
and expected output is:
host0 param0 tt1rvg
host0 param6 tt2rvg
host1 param2 tt1hvg
host1 param4 tt1lvg
host1 param8 tt2hvg
host1 param10 tt2lvg
host2 param1 pp1rvg
host2 param7 pp2rvg
host3 param3 pp1hvg
host3 param5 pp1lvg
etc.
host0 param0:tt1rvgaram6:tt2rvg
host1 param2:tt1hvgaram4:tt1lvgaram8:tt2hvgaram10:tt2lvg
host2 param1p1rvgaram7p2rvg
host3 param3p1hvgaram5p1lvgaram9p2hvgaram11p2lvg
and expected output is:
host0 param0 tt1rvg
host0 param6 tt2rvg
host1 param2 tt1hvg
host1 param4 tt1lvg
host1 param8 tt2hvg
host1 param10 tt2lvg
host2 param1 pp1rvg
host2 param7 pp2rvg
host3 param3 pp1hvg
host3 param5 pp1lvg
etc.