Subversion Repositories Sigmater

Rev

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

{
if( $5 == 3) {
    cnt = 6
    while (cnt < NF)
    {
                cnt1 = cnt+1
                cnt2 = cnt+2
                cnt3 = cnt+3
                cnt4 = cnt+4
                cnt5 = cnt+5
                cnt6 = cnt+6
                cnt7 = cnt+7
                cnt8 = cnt+8
                cnt9 = cnt+9
                cnt10 = cnt+10
                cnt11 = cnt+11
                cnt12 = cnt+12
                printf("%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|\n",
                        $1,$2,$3,$4,$cnt,$cnt1,$cnt2,$cnt3,$cnt4,$cnt5,$cnt6,$cnt7,$cnt8,$cnt9,$cnt10,$cnt11,$cnt12)
                cnt= cnt+12

    }}
}