Blame | Last modification | View Log | Download | RSS feed
{ if( $5 == 4) { cnt = 6 while (cnt < NF){ cnt1=cnt+1 cnt2=cnt+2 cnt3=cnt+3 cnt4=cnt+4 printf ("%s|%s|%s|%s|%s|%s|%s|%s|\n",$1,$2,$3,$4,$cnt,$cnt1,$cnt2,$cnt3) cnt= cnt+4 } } }
{
if( $5 == 4) {
cnt = 6
while (cnt < NF){
cnt1=cnt+1
cnt2=cnt+2
cnt3=cnt+3
cnt4=cnt+4
printf ("%s|%s|%s|%s|%s|%s|%s|%s|\n",$1,$2,$3,$4,$cnt,$cnt1,$cnt2,$cnt3)
cnt= cnt+4
}