aboutsummaryrefslogtreecommitdiffstats
path: root/test/pound-bang
diff options
context:
space:
mode:
Diffstat (limited to 'test/pound-bang')
-rwxr-xr-xtest/pound-bang3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pound-bang b/test/pound-bang
new file mode 100755
index 00000000..a1c24d2b
--- /dev/null
+++ b/test/pound-bang
@@ -0,0 +1,3 @@
+#! /tmp/gawk -f
+ { ccount += length($0) }
+END { print "average line length is", ccount/NR}