Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

processing lines to get... 1

Status
Not open for further replies.

w5000

Technical User
Nov 24, 2010
223
PL
the input is:

host0 param0:tt1rvg:param6:tt2rvg
host1 param2:tt1hvg:param4:tt1lvg:param8:tt2hvg:param10:tt2lvg
host2 param1:pp1rvg:param7:pp2rvg
host3 param3:pp1hvg:param5:pp1lvg:param9:pp2hvg:param11:pp2lvg


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.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top