diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-12-27 21:44:25 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-12-27 21:44:25 +0200 |
commit | ce2fcf704aac494b44c78a34c714732685dfc1ad (patch) | |
tree | 2b299a1e61dafbf9dc0f37344693a20d8be770b8 /awklib/eg/network/catpipeclient.awk | |
parent | e4f1018b3b4ff27d109832210a2e5914e62f9bf9 (diff) | |
download | egawk-ce2fcf704aac494b44c78a34c714732685dfc1ad.tar.gz egawk-ce2fcf704aac494b44c78a34c714732685dfc1ad.tar.bz2 egawk-ce2fcf704aac494b44c78a34c714732685dfc1ad.zip |
More updates to gawkinet.texi.
Diffstat (limited to 'awklib/eg/network/catpipeclient.awk')
-rw-r--r-- | awklib/eg/network/catpipeclient.awk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/awklib/eg/network/catpipeclient.awk b/awklib/eg/network/catpipeclient.awk new file mode 100644 index 00000000..c129a1ec --- /dev/null +++ b/awklib/eg/network/catpipeclient.awk @@ -0,0 +1,7 @@ +BEGIN { + NetService = "/inet/tcp/0/localhost/8888" + print "README" |& NetService + while ((NetService |& getline) > 0) + print $0 + close(NetService) +} |