diff options
Diffstat (limited to 'contrib/awk/test/clos1way.awk')
-rw-r--r-- | contrib/awk/test/clos1way.awk | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/contrib/awk/test/clos1way.awk b/contrib/awk/test/clos1way.awk deleted file mode 100644 index 5bc4068..0000000 --- a/contrib/awk/test/clos1way.awk +++ /dev/null @@ -1,21 +0,0 @@ -BEGIN { - command = "LC_ALL=C sort" - - n = split("abcdefghijklmnopqrstuvwxyz", a, "") - for (i = n; i > 0; i--) { -# print "printing", a[i] > "/dev/stderr" - print a[i] |& command - } - - close(command, "to") - -# print "starting read loop" > "/dev/stderr" - do { - if (line) - print "got", line -# stopme(); - } while ((command |& getline line) > 0) - -# print "doing final close" > "/dev/stderr" - close(command) -} |