dan jacobson recently reported a bug with --spider and -r:
http://www.mail-archive.com/wget@sunsite.dk/msg08797.html
hrvoje confirms this bug has been in wget for a long time, mainly
because the semantics of --spider and -r were never properly defined.
from my point of view, it makes sense that when a user specifies both
--spider and -r, wget:
1) downloads resources according to -r, printing an error (with non
exisiting url & referer) in case of non existing URLs
2) parses downloaded resources for url
3) deletes downloaded resources
do you think this is the correct semantics for --spider and -r? am i
missing something here?
(notice that there are significant similarities with the behaviour of -r
and --delete-after, with the only exception of printing errors in case
of non existing URLs.)
--
Aequam memento rebus in arduis servare mentem...
Mauro Tortonesi http://www.tortonesi.com
University of Ferrara - Dept. of Eng. http://www.ing.unife.it
GNU Wget - HTTP/FTP file retrieval tool http://www.gnu.org/software/wget
Deep Space 6 - IPv6 for Linux http://www.deepspace6.net
Ferrara Linux User Group http://www.ferrara.linux.it