Hi. Currently, wget's manpage doesn't detail the
proxy environment variables which can be set
(*_proxy).
That information would be quite useful to have in
the manpage for those who require quick syntax
lookup.
The attached patch, which applies cleanly to
1.13.4, adds it (text extracted from wget manual).
Please consider its inclusion.
Best,
mancha
--- wget.1.orig 2012-08-01
+++ wget.1 2012-08-01
@@ -1842,6 +1842,14 @@
Do not ever ascend to the parent directory when retrieving recursively.
This is a useful option, since it guarantees that only the files
\&\fIbelow\fR a certain hierarchy will be downloaded.
+.SH "ENVIRONMENT VARIABLES"
+.IX Header "ENVIRONMENT VARIABLES"
+.IP "\fBhttp_proxy / https_proxy\fR" 4
+If set, the http_proxy and https_proxy variables should contain the urls of the proxies for http and https connections respectively.
+.IP "\fBftp_proxy\fR" 4
+This variable should contain the url of the proxy for ftp connections. It is quite common that http_proxy and ftp_proxy are set to the same url.
+.IP "\fBno_proxy\fR" 4
+This variable should contain a comma-separated list of domain extensions proxy should not be used for. For instance, if the value of no_proxy is `.mit.edu', proxy will not be used to retrieve documents from MIT.
.SH "FILES"
.IX Header "FILES"
.IP "\fB/usr/local/etc/wgetrc\fR" 4