bug-wget
[Top][All Lists]
Advanced

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

Re: Mention how to only get error messages


From: Tim Rühsen
Subject: Re: Mention how to only get error messages
Date: Wed, 19 Feb 2020 14:26:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 2/17/20 5:39 PM, 積丹尼 Dan Jacobson wrote:
> (info "(wget) Logging and Input File Options") says:
> 
> ‘-nv’
> ‘--no-verbose’
>      Turn off verbose without being completely quiet (use ‘-q’ for
>      that), which means that error messages and basic information still
>      get printed.
> 
> 
> OK but do mention what the basic information is, and how to only get
> error messages.

This is not possible in a simple way as all output goes to STDERR by
default. That is historically designed so that -O- works as expected
(without mixing page contents with wget status messages).

We can't change this without braking backwards compatibility. Well
someone could add another option to deal with it.

For Wget2 we decided to write normal output messages to STDOUT while
error messages go to STDERR. This would be in line with standard *nix tools.
So with Wget2 you have to combine -q and -O- if you *don't* want content
and messages being mixed on STDOUT.

Regards, Tim

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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