aboutsummaryrefslogtreecommitdiffstats
path: root/awklib/eg/prog/wc.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:57:07 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:57:07 +0300
commit3ca7f0b16d0a5c105380b284a81c6a1b2c210908 (patch)
treec2153d226b9cba3ebca0c3556b19bf3e52cd20dd /awklib/eg/prog/wc.awk
parentf20ab7c3039a4023f41372bfe4bde3b16d481df7 (diff)
downloadegawk-3ca7f0b16d0a5c105380b284a81c6a1b2c210908.tar.gz
egawk-3ca7f0b16d0a5c105380b284a81c6a1b2c210908.tar.bz2
egawk-3ca7f0b16d0a5c105380b284a81c6a1b2c210908.zip
Move to gawk-3.0.5.
Diffstat (limited to 'awklib/eg/prog/wc.awk')
-rw-r--r--awklib/eg/prog/wc.awk3
1 files changed, 1 insertions, 2 deletions
diff --git a/awklib/eg/prog/wc.awk b/awklib/eg/prog/wc.awk
index 5ec21443..56aab429 100644
--- a/awklib/eg/prog/wc.awk
+++ b/awklib/eg/prog/wc.awk
@@ -29,8 +29,7 @@ BEGIN {
print_total = (ARGC - i > 2)
}
-function beginfile(file)
-{
+function beginfile(file) {
chars = lines = words = 0
fname = FILENAME
}