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
                cnt13 = cnt+13
                cnt14 = cnt+14
                cnt15 = cnt+15
                cnt16 = cnt+16
                cnt17 = cnt+17
                cnt18 = cnt+18
                
                printf("%s|%s|%s|%s|%s|%s|%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,$cnt13,$cnt14,$cnt15,$cnt16,$cnt17,$cnt18)
                cnt= cnt+18

    }}
}