[BACK]Return to nc.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / nc

Diff for /src/usr.bin/nc/nc.1 between version 1.39 and 1.40

version 1.39, 2005/07/17 19:15:38 version 1.40, 2005/07/17 19:18:47
Line 290 
Line 290 
 when it might be necessary to verify what data a server is sending  when it might be necessary to verify what data a server is sending
 in response to commands issued by the client.  in response to commands issued by the client.
 For example, to retrieve the home page of a web site:  For example, to retrieve the home page of a web site:
 .Pp  .Bd -literal -offset indent
 .Dl $ echo -n \&"GET / HTTP/1.0\er\en\er\en\&" | nc host.example.com 80  $ echo -n "GET / HTTP/1.0\er\en\er\en" | nc host.example.com 80
   .Ed
 .Pp  .Pp
 Note that this also displays the headers sent by the web server.  Note that this also displays the headers sent by the web server.
 They can be filtered, using a tool such as  They can be filtered, using a tool such as

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40