https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211579
John Baldwin <j...@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |j...@FreeBSD.org
--- Comment #5 from John Baldwin <j...@FreeBSD.org> ---
While 'nc' would seem to the obvious replacement, I haven't yet found a way to
get equivalent functionality. I use 'nc -kU -l /tmp/sock' to create a socket.
I can then type into that terminal to store data in netcat's "buffer". 'cat
/tmp/sock' drains whatever data is pending and exits. 'nc -dNU /tmp/sock'
comes close to this except that it will still block if there is no pending data
instead of exiting with null output. Also, given that existing scripts, etc.
might depend on this feature of cat (given it's been present for so long), it
seems best to just leave well enough alone in this case.