aboutsummaryrefslogtreecommitdiffstats
path: root/test/fnarray2.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/fnarray2.awk')
-rw-r--r--test/fnarray2.awk5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/fnarray2.awk b/test/fnarray2.awk
new file mode 100644
index 00000000..1723fbf6
--- /dev/null
+++ b/test/fnarray2.awk
@@ -0,0 +1,5 @@
+function pile(c, r)
+{
+ r = ++pile[c]
+}
+{ pile($1) }