summaryrefslogtreecommitdiff
path: root/test/profile8.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/profile8.awk')
-rw-r--r--test/profile8.awk9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/profile8.awk b/test/profile8.awk
new file mode 100644
index 00000000..16252cea
--- /dev/null
+++ b/test/profile8.awk
@@ -0,0 +1,9 @@
+# Some
+# header
+# comments
+
+# Add up
+{ sum += $1 }
+
+# Print sum
+END { print sum }