summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc/nc.1
diff options
context:
space:
mode:
authorericj <>2001-08-02 20:54:56 +0000
committerericj <>2001-08-02 20:54:56 +0000
commit7379fdf8b0ae4382c58a976141541d875f9ca8ce (patch)
treeaf6f492da89d8c3afb38b5ae049f0da2c87ad043 /src/usr.bin/nc/nc.1
parentb93244c4e5e2fd9da5601e66c04d77bc1f8aed0f (diff)
downloadopenbsd-7379fdf8b0ae4382c58a976141541d875f9ca8ce.tar.gz
openbsd-7379fdf8b0ae4382c58a976141541d875f9ca8ce.tar.bz2
openbsd-7379fdf8b0ae4382c58a976141541d875f9ca8ce.zip
fix doc syntax
from Dima Dorfman <dima@unixfreak.org>
Diffstat (limited to 'src/usr.bin/nc/nc.1')
-rw-r--r--src/usr.bin/nc/nc.14
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1
index 031c9b1c20..5aeb8509c3 100644
--- a/src/usr.bin/nc/nc.1
+++ b/src/usr.bin/nc/nc.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: nc.1,v 1.15 2001/06/27 03:05:21 smart Exp $ 1.\" $OpenBSD: nc.1,v 1.16 2001/08/02 20:54:56 ericj Exp $
2.\" 2.\"
3.\" Copyright (c) 1996 David Sacerdote 3.\" Copyright (c) 1996 David Sacerdote
4.\" All rights reserved. 4.\" All rights reserved.
@@ -163,7 +163,7 @@ was able to connect to.
163.It Li "nc -v -u -z -w 3 hostname 20-30" 163.It Li "nc -v -u -z -w 3 hostname 20-30"
164Send UDP packets to ports 20-30 of example.host, and report which ones 164Send UDP packets to ports 20-30 of example.host, and report which ones
165did not respond with an ICMP packet after three seconds. 165did not respond with an ICMP packet after three seconds.
166.It Li "nc -l -p 3000" 166.It Li "nc -l 3000"
167Listen on TCP port 3000, and once there is a connection, send stdin to 167Listen on TCP port 3000, and once there is a connection, send stdin to
168the remote host, and send data from the remote host to stdout. 168the remote host, and send data from the remote host to stdout.
169.It Li "echo foobar | nc hostname 1000" 169.It Li "echo foobar | nc hostname 1000"