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
		cnt13 = cnt+13
19
		cnt14 = cnt+14
20
		cnt15 = cnt+15
21
		cnt16 = cnt+16
22
		cnt17 = cnt+17
23
		cnt18 = cnt+18
24
 
25
		printf("%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s||%s|%s|%s|%s|%s|%s|\n",
26
                        $1,$2,$3,$4,$cnt,$cnt1,$cnt2,$cnt3,$cnt4,$cnt5,$cnt6,$cnt7,$cnt8,$cnt9,$cnt10,$cnt11,$cnt12,$cnt13,$cnt14,$cnt15,$cnt16,$cnt17,$cnt18)
27
		cnt= cnt+18
28
 
29
    }}
30
}