bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Does -o work correctly now?


From: Wajda, Piotr
Subject: Re: [Bug-wget] Does -o work correctly now?
Date: Wed, 9 Nov 2016 10:58:15 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

Patch sent, should be good now.

Piotr

On 08/11/16 22:29, Tim Rühsen wrote:
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]