Oct 28, 2010 #1 santhas Technical User Aug 27, 2003 35 AU Dear awk gurus, I have an out put like this: Min 8% 426 0 0 Avg 20% 0 0 968 I want them to be printed like this: Min 8% 426 0 0 Avg 20% 0 0 968 Thanks
Dear awk gurus, I have an out put like this: Min 8% 426 0 0 Avg 20% 0 0 968 I want them to be printed like this: Min 8% 426 0 0 Avg 20% 0 0 968 Thanks
Oct 28, 2010 #2 PHV MIS Nov 8, 2002 53,708 FR Something like this ? Code: awk 'NF==1{x=$1;getline;print x,$0}' /path/to/input >output Hope This Helps, PH. FAQ219-2884 FAQ181-2886 Upvote 0 Downvote
Something like this ? Code: awk 'NF==1{x=$1;getline;print x,$0}' /path/to/input >output Hope This Helps, PH. FAQ219-2884 FAQ181-2886