Comment 2 for bug 544935

Revision history for this message
Stefan Haller (haliner) wrote : Re: netcat-openbsd stdout broken on Ubuntu

I’ve found out something about this bug:

If you use parameter “-q 0”, netcat won’t print the result. This is a bug.
But if you use something else like “-q 1” or something like that, the output will be correct.

A Ubuntu specific patch changes the default value of parameter -q to the “bad” value 0. That’s why the problem doesn’t occur on a Debian system. But if you use “-q 0” (Ubuntu’s default) the bug affects also other distros.