diff options
author | delphij <delphij@FreeBSD.org> | 2010-03-23 23:00:35 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2010-03-23 23:00:35 +0000 |
commit | 7f20b83b68f6e0cfd7a0c361f8c92190950f66ea (patch) | |
tree | 50d671b217d7a98ea400b69a1c596bc5b38db835 /contrib/netcat/nc.1 | |
parent | 5440f52b56b7ceb4a1d86d48b41b5690c5b8ed30 (diff) | |
download | FreeBSD-src-7f20b83b68f6e0cfd7a0c361f8c92190950f66ea.zip FreeBSD-src-7f20b83b68f6e0cfd7a0c361f8c92190950f66ea.tar.gz |
MFV: Update nc to the version from OpenBSD 4.7.
MFC after: 1 month
Diffstat (limited to 'contrib/netcat/nc.1')
-rw-r--r-- | contrib/netcat/nc.1 | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/contrib/netcat/nc.1 b/contrib/netcat/nc.1 index 4375ae8..fc2c8af 100644 --- a/contrib/netcat/nc.1 +++ b/contrib/netcat/nc.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nc.1,v 1.50 2009/06/05 06:47:12 jmc Exp $ +.\" $OpenBSD: nc.1,v 1.53 2010/02/23 23:00:52 schwarze Exp $ .\" .\" Copyright (c) 1996 David Sacerdote .\" All rights reserved. @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 5 2009 +.Dd February 23, 2010 .Dt NC 1 .Os .Sh NAME @@ -51,8 +51,8 @@ .Op Fl X Ar proxy_protocol .Oo Xo .Fl x Ar proxy_address Ns Oo : Ns -.Ar port Oc Oc -.Xc +.Ar port Oc +.Xc Oc .Op Ar hostname .Op Ar port .Ek @@ -206,7 +206,9 @@ This makes it possible to use .Nm to script telnet sessions. .It Fl U -Specifies to use Unix Domain Sockets. +Specifies to use +.Ux Ns -domain +sockets. .It Fl u Use UDP instead of the default option of TCP. .It Fl V Ar fib @@ -428,7 +430,9 @@ outgoing traffic only. .Pp .Dl $ nc -e 'out ipsec esp/transport//require' host.example.com 42 .Pp -Create and listen on a Unix Domain Socket: +Create and listen on a +.Ux Ns -domain +socket: .Pp .Dl $ nc -lU /var/tmp/dsocket .Pp |