Am Di, 2003-09-16 um 01.09 schrieb Hrvoje Niksic: Hello,
> >> > --- wget-1.8.2.orig/doc/wget.texi
> >> > +++ wget-1.8.2/doc/wget.texi
> >> > @@ -507,7 +507,7 @@
> >> > @item -t @var{number}
> >> > @itemx [EMAIL PROTECTED]
> >> > Set number of retries to @var{number}. Specify 0 or @samp{inf} for
> >> > -infinite retrying.
> >> > +infinite retrying. Default (no command-line switch) is not to
> >> > retry.
> >>
> >> Huh? The default is to retry 20 times. Isn't it? :-)
> >
> > Hmm, then i got it wrong:
> >
> > $ LC_ALL=C wget -t 0 http://localhost/asdf
> > --00:22:01-- http://localhost/asdf
> > => `asdf'
> > Resolving localhost... done.
> > Connecting to localhost[127.0.0.1]:80... failed: Connection refused.
>
> It doesn't for "fatal" errors, such as connection refused, and --tries
> doesn't change that.
Hmm, then this should be documented.:)
what about:
--- wget-1.8.2.orig/doc/wget.texi
+++ wget-1.8.2/doc/wget.texi
@@ -507,7 +507,7 @@
@item -t @var{number}
@itemx [EMAIL PROTECTED]
Set number of retries to @var{number}. Specify 0 or @samp{inf} for
-infinite retrying.
+infinite retrying. Default (no command-line switch) is to retry
+20 times but fatal errors like "connection refused" or "not found"
+(404) are not being retried.
Just an idea.
--
Noèl Köthe <noel debian.org>
Debian GNU/Linux, www.debian.org
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
