2011-10-12 06:14:30 -04:00
|
|
|
$OpenBSD: patch-doc_wget_texi,v 1.4 2011/10/12 10:14:30 dcoppa Exp $
|
|
|
|
--- doc/wget.texi.orig Sat Aug 6 12:22:58 2011
|
|
|
|
+++ doc/wget.texi Thu Oct 6 10:25:12 2011
|
|
|
|
@@ -10,6 +10,11 @@
|
1999-12-13 22:59:09 -05:00
|
|
|
@setchapternewpage on
|
|
|
|
@c %**end of header
|
|
|
|
|
|
|
|
+@dircategory Networking tools
|
|
|
|
+@direntry
|
|
|
|
+* Wget: (wget.info). A utility for network download.
|
|
|
|
+@end direntry
|
|
|
|
+
|
|
|
|
@iftex
|
|
|
|
@c Remove this if you don't use A4 paper.
|
|
|
|
@afourpaper
|
2011-10-12 06:14:30 -04:00
|
|
|
@@ -190,14 +195,14 @@ gauge can be customized to your preferences.
|
2008-10-09 14:50:44 -04:00
|
|
|
Most of the features are fully configurable, either through command line
|
|
|
|
options, or via the initialization file @file{.wgetrc} (@pxref{Startup
|
|
|
|
File}). Wget allows you to define @dfn{global} startup files
|
2011-10-12 06:14:30 -04:00
|
|
|
-(@file{/usr/local/etc/wgetrc} by default) for site settings. You can also
|
|
|
|
+(@file{${SYSCONFDIR}/wgetrc} by default) for site settings. You can also
|
|
|
|
specify the location of a startup file with the --config option.
|
|
|
|
|
2008-10-09 14:50:44 -04:00
|
|
|
|
|
|
|
@ignore
|
|
|
|
@c man begin FILES
|
|
|
|
@table @samp
|
|
|
|
-@item /usr/local/etc/wgetrc
|
|
|
|
+@item ${SYSCONFDIR}/wgetrc
|
|
|
|
Default location of the @dfn{global} startup file.
|
|
|
|
|
|
|
|
@item .wgetrc
|
2011-10-12 06:14:30 -04:00
|
|
|
@@ -2696,9 +2701,8 @@ commands.
|
2008-10-09 14:50:44 -04:00
|
|
|
@cindex location of wgetrc
|
|
|
|
|
|
|
|
When initializing, Wget will look for a @dfn{global} startup file,
|
|
|
|
-@file{/usr/local/etc/wgetrc} by default (or some prefix other than
|
|
|
|
-@file{/usr/local}, if Wget was not installed there) and read commands
|
|
|
|
-from there, if it exists.
|
|
|
|
+@file{${SYSCONFDIR}/wgetrc} by default, and read commands from there
|
|
|
|
+if it exists.
|
|
|
|
|
|
|
|
Then it will look for the user's file. If the environmental variable
|
|
|
|
@code{WGETRC} is set, Wget will try to load that file. Failing that, no
|
2011-10-12 06:14:30 -04:00
|
|
|
@@ -2708,7 +2712,7 @@ If @code{WGETRC} is not set, Wget will try to load @fi
|
2008-10-09 14:50:44 -04:00
|
|
|
|
|
|
|
The fact that user's settings are loaded after the system-wide ones
|
|
|
|
means that in case of collision user's wgetrc @emph{overrides} the
|
|
|
|
-system-wide wgetrc (in @file{/usr/local/etc/wgetrc} by default).
|
|
|
|
+system-wide wgetrc (in @file{${SYSCONFDIR}/wgetrc} by default).
|
|
|
|
Fascist admins, away!
|
|
|
|
|
2011-10-12 06:14:30 -04:00
|
|
|
@node Wgetrc Syntax, Wgetrc Commands, Wgetrc Location, Startup File
|