diff options
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") } |