Files
server/usr/share/doc/gawk/examples/misc/arrayorder.awk
2026-01-07 20:52:11 +01:00

11 lines
117 B
Awk

{
if ($1 > max)
max = $1
arr[$1] = $0
}
END {
for (x = 1; x <= max; x++)
print arr[x]
}