File: profile10.awk

package info (click to toggle)
gawk 1%3A4.2.1%2Bdfsg-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 20,880 kB
  • sloc: ansic: 50,919; awk: 12,043; yacc: 6,393; sh: 5,675; makefile: 2,856; sed: 128; csh: 6
file content (42 lines) | stat: -rw-r--r-- 714 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
BEGIN {			# Comment 0
	if (1) {	# Comment 1
		print "ABC"	# Comment2
	} else {	# Comment 3
		print "XYZ"	# Comment 4
	}			# Comment 5

	while (c == d) {	# Comment 6
		print "DEF"	# Comment 7
	}			# Comment 8

	do {			# Comment 9
		print "GHI"	# Comment 10
	} while (e == f)	# Comment 11

	for (i in data) {	# Comment 12
		print "JKL"	# Comment 13
	}			# Comment 14

	for (z = 1; z <= 10; z++) {	# Comment 15
		print "MNO"		# Comment 16
	}				# Comment 17

	switch (q) {	# Comment 18
	case "a":	# Comment 19
	case "b":
		# Comment 20
		break	# Comment 21
	default:	# Comment 22
		break	# Comment 23
	}		# Comment 24

	if (1) {
		print "foo"
	}		# Comment 25

	if (2) {
		print "bar"
	}
	# Comment 26
}
# Comment 27