curious that it shows up now, not like a month ago
Skip to content Features Business Explore Pricing '"` </textarea></xmp> This repository Sign in or Sign up Watch 0 Star 0 Fork 0 colby / printerfacts Code Issues 0 Pull requests 0 Projects 0 Pulse Graphs Permalink Browse files have netcat close connection on EOF of stdin master 1 parent 8f5020f commit 673a83d328e2fd81a9ea191866e2d74ebb78815d colby committed May 15, 2017 Unified Split Showing 1 changed file with 1 addition and 1 deletion . +1 −1 print Show comments View 2 print @@ -1,2 +1,2 @@ #! /bin/bash - while : ; do echo -e " HTTP/1.0 200 OK\n\n $( shuf -n1 facts ) " | nc -l -p 9991 ; done + while : ; do echo -e " HTTP/1.0 200 OK\n\n $( shuf -n1 facts ) " | nc - N - l -p 9991 ; done Toggle all...