Make fakeserver return tab-separated types.
[newgopher.git] / fakeserver.sh
blob8cbbba46298da2a400edbf4800aee116ba9e180f
1 #!/bin/bash
3 echo "Poor man's 'inetd', works on netcat"
5 RUN=gopher.pl
6 PORT=32070
8 while true; do
9 nc -l -p ${PORT} -e ${RUN}
10 sleep 1
11 done