Re: Mention how to only get error messages

2020-02-19 Thread Tim Rühsen
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



signature.asc
Description: OpenPGP digital signature


Mention how to only get error messages

2020-02-17 Thread 積丹尼 Dan Jacobson
(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.

Version: 1.20.3-1+b2