Subversion Repositories Sigmater

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 Andrea 1
{
2
if( $5 == 3) {
3
    cnt = 6
4
    while (cnt < NF)
5
    {
6
		cnt1 = cnt+1
7
		cnt2 = cnt+2
8
		cnt3 = cnt+3
9
		cnt4 = cnt+4
10
		cnt5 = cnt+5
11
		cnt6 = cnt+6
12
		cnt7 = cnt+7
13
		cnt8 = cnt+8
14
		cnt9 = cnt+9
15
		cnt10 = cnt+10
16
		cnt11 = cnt+11
17
		cnt12 = cnt+12
18
		printf("%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|\n",
19
                        $1,$2,$3,$4,$cnt,$cnt1,$cnt2,$cnt3,$cnt4,$cnt5,$cnt6,$cnt7,$cnt8,$cnt9,$cnt10,$cnt11,$cnt12)
20
		cnt= cnt+12
21
 
22
    }}
23
}