]> sjero.net Git - wget/commitdiff
[svn] Various documentation adjustments. AUTHORS <- Micah
authormicah <devnull@localhost>
Thu, 13 Sep 2007 06:47:42 +0000 (23:47 -0700)
committermicah <devnull@localhost>
Thu, 13 Sep 2007 06:47:42 +0000 (23:47 -0700)
AUTHORS
ChangeLog
doc/ChangeLog
doc/wget.texi

diff --git a/AUTHORS b/AUTHORS
index daa005e7963825d98f5a0e0acd42788e452c3b37..94adf57e4331378ea10d60e31e558f8d61bab8a4 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -40,3 +40,5 @@ Nicolas Schodet.  Contributed to cookie code and documentation.
 
 Daniel Stenberg.  NTLM authentication in http-ntlm.c and http-ntlm.h
 originally written for curl donated for use in GNU Wget.
+
+Micah Cowan.  Current Wget maintainer, from mid-2007.
index 2312d00f935af370e19f279a50f6d0b6d0d8f2c7..d3ae6577f83c86625aeaf99626d213867cc9bce1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-09-12  Micah Cowan  <micah@cowan.name>
+
+       * AUTHORS: Added... me...
+
 2007-08-26  Micah Cowan  <micah@cowan.name>
 
        * po/POTFILES.in: Added spider.c.
index 3b16b9f33e5fc863c5478105aeb3e6b765722a68..f40b7c8720b8c6b51adb0b6e3a3526ea504ebf0f 100644 (file)
@@ -1,3 +1,9 @@
+2007-09-12  Micah Cowan  <micah@cowan.name>
+
+       * wget.texi: Expanded the description of -O. Clarified the
+       detection of elements as "patterns" versus "suffixes" in -A,
+       -R. Describe -p in relation to -nc.
+
 2007-07-28  Micah Cowan  <micah@cowan.name>
 
        * wget.texi <HTTP Options>: Added --max-redirect option.
index fcc5cd603467c4ef44c01669c626e50ea7c1ea31..c7aca61ea767fb1f5ca1ab39a36a2872f6e7d687 100644 (file)
@@ -548,8 +548,16 @@ is used as @var{file}, documents will be printed to standard output,
 disabling link conversion.  (Use @samp{./-} to print to a file
 literally named @samp{-}.)
 
-Note that a combination with @samp{-k} is only well-defined for
-downloading a single document.
+Use of @samp{-O} is @emph{not} intended to mean simply ``use the name
+@var{file} instead of the one in the URL;'' rather, it is
+analogous to shell redirection:
+@samp{wget -O file http://foo} is intended to work like
+@samp{wget -O - http://foo > file}; @file{file} will be truncated
+immediately, and @emph{all} downloaded content will be written there.
+
+Note that a combination with @samp{-k} is only permitted when
+downloading a single document, and combination with any of @samp{-r},
+@samp{-p}, or @samp{-N} is not allowed.
 
 @cindex clobbering, file
 @cindex downloading multiple times
@@ -561,7 +569,7 @@ behavior depends on a few options, including @samp{-nc}.  In certain
 cases, the local file will be @dfn{clobbered}, or overwritten, upon
 repeated download.  In other cases it will be preserved.
 
-When running Wget without @samp{-N}, @samp{-nc}, or @samp{-r},
+When running Wget without @samp{-N}, @samp{-nc}, @samp{-r}, or @samp{p},
 downloading the same file in the same directory will result in the
 original copy of @var{file} being preserved and the second copy being
 named @samp{@var{file}.1}.  If that file is downloaded yet again, the
@@ -573,17 +581,17 @@ clobbering that's prevented (as the numeric suffixes were already
 preventing clobbering), but rather the multiple version saving that's
 prevented.
 
-When running Wget with @samp{-r}, but without @samp{-N} or @samp{-nc},
-re-downloading a file will result in the new copy simply overwriting the
-old.  Adding @samp{-nc} will prevent this behavior, instead causing the
-original version to be preserved and any newer copies on the server to
-be ignored.
+When running Wget with @samp{-r} or @samp{-p}, but without @samp{-N}
+or @samp{-nc}, re-downloading a file will result in the new copy
+simply overwriting the old.  Adding @samp{-nc} will prevent this
+behavior, instead causing the original version to be preserved and any
+newer copies on the server to be ignored.
 
-When running Wget with @samp{-N}, with or without @samp{-r}, the
-decision as to whether or not to download a newer copy of a file depends
-on the local and remote timestamp and size of the file
-(@pxref{Time-Stamping}).  @samp{-nc} may not be specified at the same
-time as @samp{-N}.
+When running Wget with @samp{-N}, with or without @samp{-r} or
+@samp{-p}, the decision as to whether or not to download a newer copy
+of a file depends on the local and remote timestamp and size of the
+file (@pxref{Time-Stamping}).  @samp{-nc} may not be specified at the
+same time as @samp{-N}.
 
 Note that when @samp{-nc} is specified, files with the suffixes
 @samp{.html} or @samp{.htm} will be loaded from the local disk and
@@ -1799,7 +1807,10 @@ option to turn it on.
 @item -A @var{acclist} --accept @var{acclist}
 @itemx -R @var{rejlist} --reject @var{rejlist}
 Specify comma-separated lists of file name suffixes or patterns to
-accept or reject (@pxref{Types of Files} for more details).
+accept or reject (@pxref{Types of Files} for more details). Note that if
+any of the wildcard characters, @samp{*}, @samp{?}, @samp{[} or
+@samp{]}, appear in an element of @var{acclist} or @var{rejlist},
+it will be treated as a pattern, rather than a suffix.
 
 @item -D @var{domain-list}
 @itemx --domains=@var{domain-list}