|
|
11f80c |
diff --git a/NEWS b/NEWS
|
|
|
11f80c |
index d23ae95..aa3247f 100644
|
|
|
11f80c |
--- a/NEWS
|
|
|
11f80c |
+++ b/NEWS
|
|
|
11f80c |
@@ -935,7 +935,7 @@ distributed with Wget.
|
|
|
11f80c |
|
|
|
11f80c |
** Compiles on pre-ANSI compilers.
|
|
|
11f80c |
|
|
|
11f80c |
-** Global wgetrc now goes to /usr/local/etc (i.e. $sysconfdir).
|
|
|
11f80c |
+** Global wgetrc now goes to /etc (i.e. $sysconfdir).
|
|
|
11f80c |
|
|
|
11f80c |
** Lots of bugfixes.
|
|
|
11f80c |
|
|
|
11f80c |
@@ -998,7 +998,7 @@ Emacs, standalone info, or converted to HTML, dvi or postscript.
|
|
|
11f80c |
** Fixed a long-standing bug, so that Wget now works over SLIP
|
|
|
11f80c |
connections.
|
|
|
11f80c |
|
|
|
11f80c |
-** You can have a system-wide wgetrc (/usr/local/lib/wgetrc by
|
|
|
11f80c |
+** You can have a system-wide wgetrc (/etc/wgetrc by
|
|
|
11f80c |
default). Settings in $HOME/.wgetrc override the global ones, of
|
|
|
11f80c |
course :-)
|
|
|
11f80c |
|
|
|
11f80c |
diff --git a/README b/README
|
|
|
11f80c |
index 692e1c6..38231c9 100644
|
|
|
11f80c |
--- a/README
|
|
|
11f80c |
+++ b/README
|
|
|
11f80c |
@@ -33,7 +33,7 @@ for socks.
|
|
|
11f80c |
|
|
|
11f80c |
Most of the features are configurable, either through command-line
|
|
|
11f80c |
options, or via initialization file .wgetrc. Wget allows you to
|
|
|
11f80c |
-install a global startup file (/usr/local/etc/wgetrc by default) for
|
|
|
11f80c |
+install a global startup file (/etc/wgetrc by default) for
|
|
|
11f80c |
site settings.
|
|
|
11f80c |
|
|
|
11f80c |
Wget works under almost all Unix variants in use today and, unlike
|
|
|
11f80c |
diff --git a/doc/sample.wgetrc b/doc/sample.wgetrc
|
|
|
11f80c |
index c0d0779..9a73ada 100644
|
|
|
11f80c |
--- a/doc/sample.wgetrc
|
|
|
11f80c |
+++ b/doc/sample.wgetrc
|
|
|
11f80c |
@@ -10,7 +10,7 @@
|
|
|
11f80c |
## Or online here:
|
|
|
11f80c |
## https://www.gnu.org/software/wget/manual/wget.html#Startup-File
|
|
|
11f80c |
##
|
|
|
11f80c |
-## Wget initialization file can reside in /usr/local/etc/wgetrc
|
|
|
11f80c |
+## Wget initialization file can reside in /etc/wgetrc
|
|
|
11f80c |
## (global, for all users) or $HOME/.wgetrc (for a single user).
|
|
|
11f80c |
##
|
|
|
11f80c |
## To use the settings in this file, you will have to uncomment them,
|
|
|
11f80c |
@@ -22,7 +22,7 @@
|
|
|
11f80c |
|
|
|
11f80c |
|
|
|
11f80c |
##
|
|
|
11f80c |
-## Global settings (useful for setting up in /usr/local/etc/wgetrc).
|
|
|
11f80c |
+## Global settings (useful for setting up in /etc/wgetrc).
|
|
|
11f80c |
## Think well before you change them, since they may reduce wget's
|
|
|
11f80c |
## functionality, and make it behave contrary to the documentation:
|
|
|
11f80c |
##
|
|
|
11f80c |
diff --git a/doc/sample.wgetrc.munged_for_texi_inclusion b/doc/sample.wgetrc.munged_for_texi_inclusion
|
|
|
11f80c |
index 3c7f2f4..521ef16 100644
|
|
|
11f80c |
--- a/doc/sample.wgetrc.munged_for_texi_inclusion
|
|
|
11f80c |
+++ b/doc/sample.wgetrc.munged_for_texi_inclusion
|
|
|
11f80c |
@@ -10,7 +10,7 @@
|
|
|
11f80c |
## Or online here:
|
|
|
11f80c |
## https://www.gnu.org/software/wget/manual/wget.html#Startup-File
|
|
|
11f80c |
##
|
|
|
11f80c |
-## Wget initialization file can reside in /usr/local/etc/wgetrc
|
|
|
11f80c |
+## Wget initialization file can reside in /etc/wgetrc
|
|
|
11f80c |
## (global, for all users) or $HOME/.wgetrc (for a single user).
|
|
|
11f80c |
##
|
|
|
11f80c |
## To use the settings in this file, you will have to uncomment them,
|
|
|
11f80c |
@@ -22,7 +22,7 @@
|
|
|
11f80c |
|
|
|
11f80c |
|
|
|
11f80c |
##
|
|
|
11f80c |
-## Global settings (useful for setting up in /usr/local/etc/wgetrc).
|
|
|
11f80c |
+## Global settings (useful for setting up in /etc/wgetrc).
|
|
|
11f80c |
## Think well before you change them, since they may reduce wget's
|
|
|
11f80c |
## functionality, and make it behave contrary to the documentation:
|
|
|
11f80c |
##
|
|
|
11f80c |
diff --git a/doc/wget.info b/doc/wget.info
|
|
|
11f80c |
index 40ce0d4..89c6652 100644
|
|
|
11f80c |
--- a/doc/wget.info
|
|
|
11f80c |
+++ b/doc/wget.info
|
|
|
11f80c |
@@ -109,7 +109,7 @@ retrieval through HTTP proxies.
|
|
|
11f80c |
• Most of the features are fully configurable, either through command
|
|
|
11f80c |
line options, or via the initialization file ‘.wgetrc’ (*note
|
|
|
11f80c |
Startup File::). Wget allows you to define “global” startup files
|
|
|
11f80c |
- (‘/usr/local/etc/wgetrc’ by default) for site settings. You can
|
|
|
11f80c |
+ (‘/etc/wgetrc’ by default) for site settings. You can
|
|
|
11f80c |
also specify the location of a startup file with the –config
|
|
|
11f80c |
option. To disable the reading of config files, use –no-config.
|
|
|
11f80c |
If both –config and –no-config are given, –no-config is ignored.
|
|
|
11f80c |
@@ -2825,8 +2825,8 @@ File: wget.info, Node: Wgetrc Location, Next: Wgetrc Syntax, Prev: Startup Fi
|
|
|
11f80c |
===================
|
|
|
11f80c |
|
|
|
11f80c |
When initializing, Wget will look for a “global” startup file,
|
|
|
11f80c |
-‘/usr/local/etc/wgetrc’ by default (or some prefix other than
|
|
|
11f80c |
-‘/usr/local’, if Wget was not installed there) and read commands from
|
|
|
11f80c |
+‘/etc/wgetrc’ by default (or some prefix other than
|
|
|
11f80c |
+‘/etc’, if Wget was not installed there) and read commands from
|
|
|
11f80c |
there, if it exists.
|
|
|
11f80c |
|
|
|
11f80c |
Then it will look for the user’s file. If the environmental variable
|
|
|
11f80c |
@@ -2837,7 +2837,7 @@ further attempts will be made.
|
|
|
11f80c |
|
|
|
11f80c |
The fact that user’s settings are loaded after the system-wide ones
|
|
|
11f80c |
means that in case of collision user’s wgetrc _overrides_ the
|
|
|
11f80c |
-system-wide wgetrc (in ‘/usr/local/etc/wgetrc’ by default). Fascist
|
|
|
11f80c |
+system-wide wgetrc (in ‘/etc/wgetrc’ by default). Fascist
|
|
|
11f80c |
admins, away!
|
|
|
11f80c |
|
|
|
11f80c |
?
|
|
|
11f80c |
@@ -3380,7 +3380,7 @@ its line.
|
|
|
11f80c |
## Or online here:
|
|
|
11f80c |
## https://www.gnu.org/software/wget/manual/wget.html#Startup-File
|
|
|
11f80c |
##
|
|
|
11f80c |
- ## Wget initialization file can reside in /usr/local/etc/wgetrc
|
|
|
11f80c |
+ ## Wget initialization file can reside in /etc/wgetrc
|
|
|
11f80c |
## (global, for all users) or $HOME/.wgetrc (for a single user).
|
|
|
11f80c |
##
|
|
|
11f80c |
## To use the settings in this file, you will have to uncomment them,
|
|
|
11f80c |
@@ -3392,7 +3392,7 @@ its line.
|
|
|
11f80c |
|
|
|
11f80c |
|
|
|
11f80c |
##
|
|
|
11f80c |
- ## Global settings (useful for setting up in /usr/local/etc/wgetrc).
|
|
|
11f80c |
+ ## Global settings (useful for setting up in /etc/wgetrc).
|
|
|
11f80c |
## Think well before you change them, since they may reduce wget's
|
|
|
11f80c |
## functionality, and make it behave contrary to the documentation:
|
|
|
11f80c |
##
|
|
|
11f80c |
diff --git a/doc/wget.texi b/doc/wget.texi
|
|
|
11f80c |
index eaf6b38..608d008 100644
|
|
|
11f80c |
--- a/doc/wget.texi
|
|
|
11f80c |
+++ b/doc/wget.texi
|
|
|
11f80c |
@@ -190,7 +190,7 @@ gauge can be customized to your preferences.
|
|
|
11f80c |
Most of the features are fully configurable, either through command line
|
|
|
11f80c |
options, or via the initialization file @file{.wgetrc} (@pxref{Startup
|
|
|
11f80c |
File}). Wget allows you to define @dfn{global} startup files
|
|
|
11f80c |
-(@file{/usr/local/etc/wgetrc} by default) for site settings. You can also
|
|
|
11f80c |
+(@file{/etc/wgetrc} by default) for site settings. You can also
|
|
|
11f80c |
specify the location of a startup file with the --config option.
|
|
|
11f80c |
To disable the reading of config files, use --no-config.
|
|
|
11f80c |
If both --config and --no-config are given, --no-config is ignored.
|
|
|
11f80c |
@@ -199,7 +199,7 @@ If both --config and --no-config are given, --no-config is ignored.
|
|
|
11f80c |
@ignore
|
|
|
11f80c |
@c man begin FILES
|
|
|
11f80c |
@table @samp
|
|
|
11f80c |
-@item /usr/local/etc/wgetrc
|
|
|
11f80c |
+@item /etc/wgetrc
|
|
|
11f80c |
Default location of the @dfn{global} startup file.
|
|
|
11f80c |
|
|
|
11f80c |
@item .wgetrc
|
|
|
11f80c |
@@ -3154,8 +3154,8 @@ commands.
|
|
|
11f80c |
@cindex location of wgetrc
|
|
|
11f80c |
|
|
|
11f80c |
When initializing, Wget will look for a @dfn{global} startup file,
|
|
|
11f80c |
-@file{/usr/local/etc/wgetrc} by default (or some prefix other than
|
|
|
11f80c |
-@file{/usr/local}, if Wget was not installed there) and read commands
|
|
|
11f80c |
+@file{/etc/wgetrc} by default (or some prefix other than
|
|
|
11f80c |
+@file{/etc}, if Wget was not installed there) and read commands
|
|
|
11f80c |
from there, if it exists.
|
|
|
11f80c |
|
|
|
11f80c |
Then it will look for the user's file. If the environmental variable
|
|
|
11f80c |
@@ -3166,7 +3166,7 @@ If @code{WGETRC} is not set, Wget will try to load @file{$HOME/.wgetrc}.
|
|
|
11f80c |
|
|
|
11f80c |
The fact that user's settings are loaded after the system-wide ones
|
|
|
11f80c |
means that in case of collision user's wgetrc @emph{overrides} the
|
|
|
11f80c |
-system-wide wgetrc (in @file{/usr/local/etc/wgetrc} by default).
|
|
|
11f80c |
+system-wide wgetrc (in @file{/etc/wgetrc} by default).
|
|
|
11f80c |
Fascist admins, away!
|
|
|
11f80c |
|
|
|
11f80c |
@node Wgetrc Syntax, Wgetrc Commands, Wgetrc Location, Startup File
|