Add a New Comment (Rich Markup)
Attempted fix is here https://lists.gnu.org/archive/html/bug-wget/2015-03/msg00066.html now when doing -o- the logging goes to stdout.
In the *nix world, we assume '-' to imply stdout/stdin based upon the context. Wget correctly reads -O- to mean that the downloaded file should be outputted to stdout. However, Wget does not understand -o- to mean, "Log to stdout" instead of stderr. E.g.: `wget www.example.com` will cause the logging to stderr and the file is downloaded as index.html `wget -O- www.example.com` will cause the logging to stderr and the downloaded file is printed to stdout `wget -o- www.example.com` will cause the logging to be saved to a file called "-" and the downloaded file is saved as index.html However, in the last case, the logging should have gone to stdout. It should be saved to a file called "-" if the option was -o ./-
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Please enter the title of George Orwell's famous dystopian book (it's a date):
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.11