I'm trying to simulate a daytime server with netcat.
I expect this to work, but it fails:
[on terminal A]
$ netcat -l -p 9999 -e date
[on terminal B]
$ netcat -c localhost 9999
netcat: core.c:372: core_tcp_connect: Assertion `ret == 0' failed.
This certainly looks like a bug.
On the other hand, replacing 'date' with 'cat' apparently works.