Subversion Repositories Sigmater

Rev

Blame | Last modification | View Log | Download | RSS feed

{
if( $6 == 2) {
    cnt = 7
    while (cnt < NF)
    { 
     cnt1 = cnt+1
     cnt2 = cnt+2
     cnt3 = cnt+3
     cnt4 = cnt+4
     cnt5 = cnt+5
printf ("%s|%s|%s|%s|%s|%s|%s|%s|%s|\n",$1,$2,$3,$cnt,$cnt1,$cnt2,$cnt3,$cnt4,$cnt5)
     cnt= cnt+6

    }}
}