diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-11-25 21:54:48 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-11-25 21:54:48 +0200 |
commit | 9a9ff61bbd952c1263b55f82a269da5b09289a6b (patch) | |
tree | 4bc31b31d0bec6d27f77e55f1a88f50534fa6ed4 /test/revtwoway.awk | |
parent | dbabe5a569ad82a9faeb2f121e387ec6399f9dcb (diff) | |
parent | 7af1da783175273a26609911c3a95975ed0f5c13 (diff) | |
download | egawk-9a9ff61bbd952c1263b55f82a269da5b09289a6b.tar.gz egawk-9a9ff61bbd952c1263b55f82a269da5b09289a6b.tar.bz2 egawk-9a9ff61bbd952c1263b55f82a269da5b09289a6b.zip |
Merge branch 'master' into array-iface
Diffstat (limited to 'test/revtwoway.awk')
-rw-r--r-- | test/revtwoway.awk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/revtwoway.awk b/test/revtwoway.awk new file mode 100644 index 00000000..05bded5a --- /dev/null +++ b/test/revtwoway.awk @@ -0,0 +1,11 @@ +@load "revtwoway" + +BEGIN { + cmd = "/magic/mirror" + + print "hello, world" |& cmd + cmd |& getline line + + printf("got back: <%s>, RT = <%s>\n", line, RT) + close(cmd) +} |