I believe there is a small mistake in wget 1.8, making -q ("no output") not
work as expected:

@verdandi src]$ ./wget -q www.gnu.org
Converted www.gnu.org to http://www.gnu.org
@verdandi src]$


I think this will do,

--- wget-1.8/src/main.c.orig    Thu Dec  6 08:14:35 2001
+++ wget-1.8/src/main.c Sun Dec  9 05:41:45 2001
@@ -739,7 +739,7 @@
       char *rewritten = rewrite_shorthand_url (argv[optind]);
       if (rewritten)
        {
-         printf ("Converted %s to %s\n", argv[optind], rewritten);
+         logprintf (LOG_NOTQUIET, "Converted %s to %s\n", argv[optind],
rewritten);
          url[i] = rewritten;
        }
       else



Regards

-- 
Henrik van Ginhoven                                         [EMAIL PROTECTED]
Storage for all kinds of waste                              http://mise.wox.org
... including humans                                                     9799-5

Reply via email to