On 2014-01-05 19:08, [email protected] wrote: > Old Synopsis: nc does not exit after transfer > New Synopsis: nc(1) does not exit after transfer (should be documented) > > Responsible-Changed-From-To: freebsd-amd64->freebsd-docs > Responsible-Changed-By: linimon > Responsible-Changed-When: Mon Jan 6 00:07:44 UTC 2014 > Responsible-Changed-Why: > reclassify. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=185353 > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-doc > To unsubscribe, send any mail to "[email protected]" >
I have sent in a patch upstream to resolve this issue. Once it is committed we can import the updated version of netcat and gain the documentation fix. It is a 1 line diff to the man page, so I've attached a diff against our tree as well, for reference. -- Allan Jude
Index: contrib/netcat/nc.1 =================================================================== --- contrib/netcat/nc.1 (revision 261716) +++ contrib/netcat/nc.1 (working copy) @@ -365,7 +365,7 @@ .Nm process, feeding it the file which is to be transferred: .Pp -.Dl $ nc host.example.com 1234 \*(Lt filename.in +.Dl $ nc -N host.example.com 1234 \*(Lt filename.in .Pp After the file has been transferred, the connection will close automatically. .Sh TALKING TO SERVERS
signature.asc
Description: OpenPGP digital signature
