svn commit: r196051 - stable/7/contrib/netcat

Xin LI delphij at FreeBSD.org
Mon Aug 3 18:43:28 UTC 2009


Author: delphij
Date: Mon Aug  3 18:43:26 2009
New Revision: 196051
URL: http://svn.freebsd.org/changeset/base/196051

Log:
  MFC r193021:
  
  Add an EXIT STATUS section to the manual page. Currently, nc(1)
  does not follow sysexits(3), and returns 1 for all error cases.
  
  PR:	docs/126451

Modified:
  stable/7/contrib/netcat/   (props changed)
  stable/7/contrib/netcat/nc.1

Modified: stable/7/contrib/netcat/nc.1
==============================================================================
--- stable/7/contrib/netcat/nc.1	Mon Aug  3 09:58:46 2009	(r196050)
+++ stable/7/contrib/netcat/nc.1	Mon Aug  3 18:43:26 2009	(r196051)
@@ -433,6 +433,8 @@ The same example again, this time enabli
 if the proxy requires it:
 .Pp
 .Dl $ nc -x10.2.3.4:8080 -Xconnect -Pruser host.example.com 42
+.Sh EXIT STATUS
+.Ex -std
 .Sh SEE ALSO
 .Xr cat 1 ,
 .Xr ssh 1


More information about the svn-src-stable-7 mailing list