mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-07-13 22:28:58 +00:00
14 lines
196 B
Plaintext
14 lines
196 B
Plaintext
BEGIN { x = 0; y = 1 }
|
|
|
|
$1 > x { if (x == y+1) {
|
|
x = 1
|
|
y = x * 2
|
|
} else
|
|
print x, z[x]
|
|
}
|
|
|
|
NR > 1 { print $1 }
|
|
|
|
END { print NR }
|
|
|