On Dienstag, 8. November 2016 15:26:14 CET Dale R. Worley wrote:
I've been getting a script working, and as part of it, it appears that
-o does not work correctly. Specifically -o is supposed to send all
"messages" to a specified log file rather than stderr. But what I see
is that no messages are sent to the log file.
The command in question is:
wget --no-verbose \
-o ~/temp/log-file \
--mirror --trust-server-names --convert-links --page-requisites \
--include-directories=/assignments \
--limit-rate=20k \
http://www.iana.org/assignments/index.html
With the (now obsolete) wget distributed with my OS, GNU Wget 1.16.1, -o
behaves as documented. With wget from commit 00ae9b4 (which I think is
the latest), which reports itself as GNU Wget 1.18.88-00ae-dirty, -o
seems to have no effect.
There are any number of mistakes I could have made in this test, but
since the symptom is so simple, I figured I'd ask if anyone else has
noticed whether -o works or does not in the latest commits.
Hi Dale, you are right.
Looks like commit dd5c549f6af8e1143e1a6ef66725eea4bcd9ad50 broke it.
Sadly, the test suite doesn't catch it.
@Piotr Could you take a look ?
Regards, Tim