diff options
Diffstat (limited to '')
| -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 | 
