diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 13:17:58 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 13:17:58 +0300 |
commit | e888f1834b88270590b7e04d64c03c75863e4565 (patch) | |
tree | ab679ecbf16dc4f11b90a53f4b1e0084d78c98b0 /test/longwrds.awk | |
parent | fae4762eba9ff7bb466a600130e9c90eaac6b0bc (diff) | |
download | egawk-e888f1834b88270590b7e04d64c03c75863e4565.tar.gz egawk-e888f1834b88270590b7e04d64c03c75863e4565.tar.bz2 egawk-e888f1834b88270590b7e04d64c03c75863e4565.zip |
Move to gawk-3.1.2.
Diffstat (limited to 'test/longwrds.awk')
-rw-r--r-- | test/longwrds.awk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/longwrds.awk b/test/longwrds.awk index f6a7816d..d496ac79 100644 --- a/test/longwrds.awk +++ b/test/longwrds.awk @@ -14,7 +14,8 @@ END { for (x in used) if (length(x) > 10) { ++num_long_words - print x + print x | "LC_ALL=C sort" } - print num_long_words, "long words" + print(num_long_words, "long words") | "LC_ALL=C sort" + close("LC_ALL=C sort") } |