File: t.array

package info (click to toggle)
original-awk 2025-08-04-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,400 kB
  • sloc: ansic: 6,369; awk: 1,271; sh: 1,214; yacc: 422; makefile: 73; fortran: 1
file content (13 lines) | stat: -rw-r--r-- 147 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
	{ x[NR] = $0 }

END {
	i = 1
	while (i <= NR) {
		print x[i]
		split (x[i], y)
		usage = y[1]
		name = y[2]
		print "   ", name, usage
		i++
	}
}