summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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