diff options
author | jmc <> | 2005-07-17 19:18:47 +0000 |
---|---|---|
committer | jmc <> | 2005-07-17 19:18:47 +0000 |
commit | b5bcd9d7fe9dfb04cc2a5c47d6dceef42335b6c1 (patch) | |
tree | 99a34e146e7430df9ae1f8603af643eec19ff47e /src/usr.bin/nc/nc.1 | |
parent | 3c67f235e252fc1186d40040048f35d18cb56d3e (diff) | |
download | openbsd-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.
Diffstat (limited to 'src/usr.bin/nc/nc.1')
-rw-r--r-- | src/usr.bin/nc/nc.1 | 7 |
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, | |||
290 | when it might be necessary to verify what data a server is sending | 290 | when it might be necessary to verify what data a server is sending |
291 | in response to commands issued by the client. | 291 | in response to commands issued by the client. |
292 | For example, to retrieve the home page of a web site: | 292 | For 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 |
296 | Note that this also displays the headers sent by the web server. | 297 | Note that this also displays the headers sent by the web server. |
297 | They can be filtered, using a tool such as | 298 | They can be filtered, using a tool such as |