On 18 Dec 2001 at 23:13, Hrvoje Niksic wrote:

> "Ian Abbott" <[EMAIL PROTECTED]> writes:
> 
> > If I have a website http://somesite/ with three files on it:
> > index.html, a.html and b.html, such that index.html links only to
> > a.html and a.html links only to b.html then the following command
> > will retrieve all three files:
> > 
> >   wget -r -l 1 http://somesite/index.html http://somesite/a.html
> 
> Does it?  For me this command retrieves only `index.html' and
> `a.html', and that's a bug.  `-i list' makes no different.

Well that's how it behaved for me, but actually I was using
pre2+cvs (src/CVS/Entries at [1]). Another difference was that when
the URLs were specified on the command-line, a.html was downloaded
twice.

I repeated the test with "make distclean",
"./configure --with-ssl", "make" and it behaved the same.

With your latest CVS updates (see [2]) the -i option now behaves
correctly - i.e. it downloads all three files. However, the command
which specified index.html and a.html on the command-line still
downloads a.html twice.


----
[1] Here is the src/CVS/Entries I used for the behavior I
originally observed:

/alloca.c/1.1.1.1/Thu Dec  2 07:42:27 1999//
/ansi2knr.c/1.1.1.1/Thu Dec  2 07:42:26 1999//
/fnmatch.c/1.2/Sun May 27 19:34:56 2001//
/getopt.c/1.1.1.1/Thu Dec  2 07:42:26 1999//
/getopt.h/1.1.1.1/Thu Dec  2 07:42:26 1999//
/init.h/1.2/Sun May 27 19:35:04 2001//
/rbuf.h/1.4/Sun May 27 19:35:09 2001//
/safe-ctype.c/1.1/Fri Mar 30 22:36:59 2001//
/safe-ctype.h/1.2/Fri Apr 27 05:03:08 2001//
D/ChangeLog-branches////
/gnu-md5.c/1.1/Sun Nov 18 04:36:20 2001//
/gnu-md5.h/1.1/Sun Nov 18 04:36:20 2001//
/hash.c/1.14/Tue Nov 20 11:47:32 2001//
/headers.c/1.6/Tue Nov 20 11:47:32 2001//
/html-parse.c/1.9/Tue Nov 20 11:47:32 2001//
/ftp.h/1.11/Thu Nov 22 10:36:15 2001//
/Makefile.in/1.17/Mon Nov 26 10:46:17 2001//
/recur.h/1.4/Mon Nov 26 10:46:21 2001//
/retr.h/1.10/Mon Nov 26 18:11:36 2001//
/connect.c/1.11/Tue Nov 27 15:37:00 2001//
/mswindows.h/1.5/Thu Nov 29 15:57:38 2001//
/connect.h/1.6/Fri Nov 30 10:28:03 2001//
/cookies.h/1.4/Fri Nov 30 10:28:03 2001//
/fnmatch.h/1.3/Fri Nov 30 10:28:03 2001//
/ftp-opie.c/1.6/Fri Nov 30 10:28:03 2001//
/gen-md5.c/1.2/Thu Nov 29 18:48:42 2001//
/gen-md5.h/1.2/Thu Nov 29 18:55:52 2001//
/hash.h/1.5/Fri Nov 30 10:28:03 2001//
/headers.h/1.4/Fri Nov 30 10:28:03 2001//
/html-parse.h/1.3/Fri Nov 30 10:28:03 2001//
/netrc.c/1.10/Fri Nov 30 10:28:03 2001//
/netrc.h/1.3/Fri Nov 30 10:28:03 2001//
/options.h/1.24/Fri Nov 30 10:28:03 2001//
/res.h/1.3/Fri Nov 30 10:28:04 2001//
/cmpt.c/1.10/Fri Nov 30 13:11:47 2001//
/sysdep.h/1.19/Fri Nov 30 10:28:05 2001//
/ftp.c/1.52/Mon Dec  3 19:13:15 2001//
/rbuf.c/1.6/Wed Dec  5 11:16:05 2001//
/gen_sslfunc.h/1.6/Thu Dec  6 10:23:13 2001//
/progress.h/1.4/Thu Dec  6 10:23:14 2001//
/snprintf.c/1.6/Wed Dec  5 11:16:09 2001//
/url.h/1.22/Thu Dec  6 10:23:14 2001//
/config.h.in/1.20/Mon Dec 10 11:30:41 2001//
/cookies.c/1.18/Mon Dec 10 11:30:41 2001//
/ftp-basic.c/1.15/Mon Dec 10 11:30:41 2001//
/log.c/1.11/Mon Dec 10 11:30:42 2001//
/main.c/1.68/Mon Dec 10 11:30:42 2001//
/mswindows.c/1.8/Mon Dec 10 11:30:42 2001//
/progress.c/1.23/Mon Dec 10 11:30:42 2001//
/wget.h/1.31/Mon Dec 10 11:30:43 2001//
/ftp-ls.c/1.22/Tue Dec 11 11:37:06 2001//
/host.c/1.32/Tue Dec 11 11:37:06 2001//
/host.h/1.8/Tue Dec 11 11:37:06 2001//
/html-url.c/1.22/Thu Dec 13 10:47:32 2001//
/res.c/1.6/Thu Dec 13 10:47:32 2001//
/init.c/1.44/Mon Dec 17 10:52:57 2001//
/url.c/1.67/Mon Dec 17 10:52:57 2001//
/gen_sslfunc.c/1.15/Tue Dec 18 11:32:42 2001//
/http.c/1.82/Mon Dec 17 19:56:57 2001//
/retr.c/1.49/Tue Dec 18 11:32:42 2001//
/utils.c/1.43/Tue Dec 18 11:32:42 2001//
/utils.h/1.17/Tue Dec 18 11:32:42 2001//
/version.c/1.26/Tue Dec 18 11:32:42 2001//
/ChangeLog/1.333/Tue Dec 18 18:59:29 2001//
/recur.c/1.38/Result of merge//

N.B. Although the entry for recur.c says "Result of merge", it is
in fact identical to -r1.38 on the server.


----
[2] Here is the updated src/CVS/Entries after your fixes:

/alloca.c/1.1.1.1/Thu Dec  2 07:42:27 1999//
/ansi2knr.c/1.1.1.1/Thu Dec  2 07:42:26 1999//
/fnmatch.c/1.2/Sun May 27 19:34:56 2001//
/getopt.c/1.1.1.1/Thu Dec  2 07:42:26 1999//
/getopt.h/1.1.1.1/Thu Dec  2 07:42:26 1999//
/init.h/1.2/Sun May 27 19:35:04 2001//
/rbuf.h/1.4/Sun May 27 19:35:09 2001//
/safe-ctype.c/1.1/Fri Mar 30 22:36:59 2001//
/safe-ctype.h/1.2/Fri Apr 27 05:03:08 2001//
D/ChangeLog-branches////
/gnu-md5.c/1.1/Sun Nov 18 04:36:20 2001//
/gnu-md5.h/1.1/Sun Nov 18 04:36:20 2001//
/hash.c/1.14/Tue Nov 20 11:47:32 2001//
/headers.c/1.6/Tue Nov 20 11:47:32 2001//
/ftp.h/1.11/Thu Nov 22 10:36:15 2001//
/Makefile.in/1.17/Mon Nov 26 10:46:17 2001//
/recur.h/1.4/Mon Nov 26 10:46:21 2001//
/retr.h/1.10/Mon Nov 26 18:11:36 2001//
/connect.c/1.11/Tue Nov 27 15:37:00 2001//
/mswindows.h/1.5/Thu Nov 29 15:57:38 2001//
/connect.h/1.6/Fri Nov 30 10:28:03 2001//
/cookies.h/1.4/Fri Nov 30 10:28:03 2001//
/fnmatch.h/1.3/Fri Nov 30 10:28:03 2001//
/ftp-opie.c/1.6/Fri Nov 30 10:28:03 2001//
/gen-md5.c/1.2/Thu Nov 29 18:48:42 2001//
/gen-md5.h/1.2/Thu Nov 29 18:55:52 2001//
/hash.h/1.5/Fri Nov 30 10:28:03 2001//
/headers.h/1.4/Fri Nov 30 10:28:03 2001//
/html-parse.h/1.3/Fri Nov 30 10:28:03 2001//
/netrc.c/1.10/Fri Nov 30 10:28:03 2001//
/netrc.h/1.3/Fri Nov 30 10:28:03 2001//
/options.h/1.24/Fri Nov 30 10:28:03 2001//
/res.h/1.3/Fri Nov 30 10:28:04 2001//
/cmpt.c/1.10/Fri Nov 30 13:11:47 2001//
/sysdep.h/1.19/Fri Nov 30 10:28:05 2001//
/ftp.c/1.52/Mon Dec  3 19:13:15 2001//
/rbuf.c/1.6/Wed Dec  5 11:16:05 2001//
/gen_sslfunc.h/1.6/Thu Dec  6 10:23:13 2001//
/progress.h/1.4/Thu Dec  6 10:23:14 2001//
/snprintf.c/1.6/Wed Dec  5 11:16:09 2001//
/url.h/1.22/Thu Dec  6 10:23:14 2001//
/config.h.in/1.20/Mon Dec 10 11:30:41 2001//
/cookies.c/1.18/Mon Dec 10 11:30:41 2001//
/ftp-basic.c/1.15/Mon Dec 10 11:30:41 2001//
/main.c/1.68/Mon Dec 10 11:30:42 2001//
/mswindows.c/1.8/Mon Dec 10 11:30:42 2001//
/progress.c/1.23/Mon Dec 10 11:30:42 2001//
/wget.h/1.31/Mon Dec 10 11:30:43 2001//
/ftp-ls.c/1.22/Tue Dec 11 11:37:06 2001//
/host.c/1.32/Tue Dec 11 11:37:06 2001//
/host.h/1.8/Tue Dec 11 11:37:06 2001//
/res.c/1.6/Thu Dec 13 10:47:32 2001//
/init.c/1.44/Mon Dec 17 10:52:57 2001//
/url.c/1.67/Mon Dec 17 10:52:57 2001//
/gen_sslfunc.c/1.15/Tue Dec 18 11:32:42 2001//
/http.c/1.82/Mon Dec 17 19:56:57 2001//
/retr.c/1.49/Tue Dec 18 11:32:42 2001//
/utils.c/1.43/Tue Dec 18 11:32:42 2001//
/utils.h/1.17/Tue Dec 18 11:32:42 2001//
/version.c/1.26/Tue Dec 18 11:32:42 2001//
/ChangeLog/1.337/Wed Dec 19 11:06:24 2001//
/html-parse.c/1.10/Wed Dec 19 11:06:24 2001//
/html-url.c/1.23/Wed Dec 19 11:06:24 2001//
/log.c/1.12/Wed Dec 19 11:06:24 2001//
/recur.c/1.40/Wed Dec 19 11:06:24 2001//

Changed entries between [1] and [2]:

ChangeLog
html-parse.c
html-url.c
log.c
recur.c

Reply via email to