awk/testdir/t.array

14 lines
147 B
Plaintext
Raw Normal View History

2019-06-23 05:13:57 -04:00
{ 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++
}
}