aboutsummaryrefslogtreecommitdiffstats
path: root/test/poundbang.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 13:17:58 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 13:17:58 +0300
commite888f1834b88270590b7e04d64c03c75863e4565 (patch)
treeab679ecbf16dc4f11b90a53f4b1e0084d78c98b0 /test/poundbang.awk
parentfae4762eba9ff7bb466a600130e9c90eaac6b0bc (diff)
downloadegawk-e888f1834b88270590b7e04d64c03c75863e4565.tar.gz
egawk-e888f1834b88270590b7e04d64c03c75863e4565.tar.bz2
egawk-e888f1834b88270590b7e04d64c03c75863e4565.zip
Move to gawk-3.1.2.
Diffstat (limited to 'test/poundbang.awk')
-rwxr-xr-xtest/poundbang.awk3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/poundbang.awk b/test/poundbang.awk
index d60652e3..a6440fff 100755
--- a/test/poundbang.awk
+++ b/test/poundbang.awk
@@ -1,3 +1,2 @@
#! /tmp/gawk -f
- { ccount += length($0) }
-END { printf "average line length is %2.4f\n", ccount/NR}
+{ print }