docs/185353: nc(1) does not exit after transfer (should be documented)

Allan Jude freebsd at allanjude.com
Mon Feb 10 16:26:51 UTC 2014


On 2014-01-05 19:08, linimon at FreeBSD.org 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
> _______________________________________________
> freebsd-doc at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-doc
> To unsubscribe, send any mail to "freebsd-doc-unsubscribe at freebsd.org"
> 

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
-------------- next part --------------
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20140210/165731f9/attachment.sig>


More information about the freebsd-doc mailing list