summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2005-07-17 19:18:47 +0000
committerjmc <>2005-07-17 19:18:47 +0000
commitb5bcd9d7fe9dfb04cc2a5c47d6dceef42335b6c1 (patch)
tree99a34e146e7430df9ae1f8603af643eec19ff47e
parent3c67f235e252fc1186d40040048f35d18cb56d3e (diff)
downloadopenbsd-b5bcd9d7fe9dfb04cc2a5c47d6dceef42335b6c1.tar.gz
openbsd-b5bcd9d7fe9dfb04cc2a5c47d6dceef42335b6c1.tar.bz2
openbsd-b5bcd9d7fe9dfb04cc2a5c47d6dceef42335b6c1.zip
oops... .Dl does not like to be inundated with args, and my last commit just
exceeded the happy number - use a display instead.
-rw-r--r--src/usr.bin/nc/nc.17
1 files changed, 4 insertions, 3 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1
index 19dcad5d5f..773de16135 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.39 2005/07/17 19:15:38 jmc Exp $ 1.\" $OpenBSD: nc.1,v 1.40 2005/07/17 19:18:47 jmc Exp $
2.\" 2.\"
3.\" Copyright (c) 1996 David Sacerdote 3.\" Copyright (c) 1996 David Sacerdote
4.\" All rights reserved. 4.\" All rights reserved.
@@ -290,8 +290,9 @@ It can aid in troubleshooting,
290when it might be necessary to verify what data a server is sending 290when it might be necessary to verify what data a server is sending
291in response to commands issued by the client. 291in response to commands issued by the client.
292For example, to retrieve the home page of a web site: 292For example, to retrieve the home page of a web site:
293.Pp 293.Bd -literal -offset indent
294.Dl $ echo -n \&"GET / HTTP/1.0\er\en\er\en\&" | nc host.example.com 80 294$ echo -n "GET / HTTP/1.0\er\en\er\en" | nc host.example.com 80
295.Ed
295.Pp 296.Pp
296Note that this also displays the headers sent by the web server. 297Note that this also displays the headers sent by the web server.
297They can be filtered, using a tool such as 298They can be filtered, using a tool such as