Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2009 07:18:31 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193021 - head/contrib/netcat
Message-ID:  <200905290718.n4T7IVUN063222@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Fri May 29 07:18:31 2009
New Revision: 193021
URL: http://svn.freebsd.org/changeset/base/193021

Log:
  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:
  head/contrib/netcat/nc.1

Modified: head/contrib/netcat/nc.1
==============================================================================
--- head/contrib/netcat/nc.1	Fri May 29 06:57:45 2009	(r193020)
+++ head/contrib/netcat/nc.1	Fri May 29 07:18:31 2009	(r193021)
@@ -445,6 +445,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 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905290718.n4T7IVUN063222>