Bug#653765: wget: --output-document=- makes wget incorrectly say I used -k
Package: wget Version: 1.13.4-1 Severity: normal Dear Maintainer, The following quote from the wget man page says it is OK to use the option --output-document=-: -O file --output-document=file The documents will not be written to the appropriate files, but all will be concatenated together and written to file. If - is used as file, documents will be printed to standard output, disabling link conversion. However when that option is used, wget gives the error message shown below: % /usr/bin/wget --output-document=- debian.org -k can be used together with -O only if outputting to a regular file. Since I did not use -k, please make wget not imply that I used -k. Also note that when this bug happens, wget fails to download any data. Myth TV's utility, mythfilldatabase, calls wget in this way which means that Myth TV cannot get the data it needs. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.0.0-1-686-pae (SMP w/1 CPU core) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#653765: wget: --output-document=- makes wget incorrectly say I used -k
(2011年12月30日 12:56), Jacob Burckhardt wrote: % /usr/bin/wget --output-document=- debian.org -k can be used together with -O only if outputting to a regular file. Since I did not use -k, please make wget not imply that I used -k. Wget will also print that message if you have the equivalent of -k specified in your .wgetrc file. Run wget --version to see where it picks up wgetrc commands, and check those locations for a command like convert_links = on. It might have been better if a warning had been offered that it was going to ignore -k instead... perhaps you could make the bug be about that (assuming of course that a convert_links command is found), and if you desire, you might also submit a bug about making the message a bit friendlier (mentioning both -k and its wgetrc counterpart). These are all issues that should really be taken care of upstream, rather than at the Debian level, so you might wish to bring it up on their mailing list at bug-w...@gnu.org (subscription required, IIRC, but you could always unsubscribe after - I may be wrong about suscribing, but if you don't subscribe it will at least go to the moderator's queue, and may sit for up to a couple days. http://lists.gnu.org/mailman/listinfo/bug-wget) HTH, -mjc -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org