bugGNU Wget - Bugs: bug #33839, wget -nv outputs non-error output...


bug #33839: wget -nv outputs non-error output to stderr

Submitted by:  Noël Köthe <nok>
Submitted on:  Sat 23 Jul 2011 02:10:59 PM UTC  
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: Inspected
Privacy: PublicAssigned to: Giuseppe Scrivano <gscrivano>
Originator Name: Open/Closed: Open
Release: 1.12Operating System: GNU/Linux
Reproducibility: Every TimeFixed Release: None
Planned Release: NoneRegression: None
Work Required: NonePatch Included: No

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 01 Sep 2014 11:28:59 AM UTC, comment #2:

But it IS a problem that -nv ( = NON-verbose) causes to have this junk printed anyway regardless of whatever!

2014-09-01 13:23:00 URL:http://whatever.url.this.may.be [98765] -> "-" [1]

And it is a problem that you HAVE to send the output to /dev/null first to stop this!

At least they should give us a -nvv alternative option or whatever that will suppress this by default.
Users are not interested in manually suppressing data junk deemed "important" by some tech geeks. Yes, it's the same ones constantly having live log file consoles on their desktop and those that always "need to know" when some global hotkey has been set. This justifies (oh-yes!) pagefuls of debug information with console apps because that is oh-so important.

Fri 05 Aug 2011 08:00:42 PM UTC, comment #1:

POSIX defines stderr as: "standard error (for writing diagnostic output)". That one is a diagnostic message so it is not a problem to use stderr for it.

Giuseppe Scrivano <gscrivano>
Project AdministratorIn charge of this item.
Sat 23 Jul 2011 02:10:59 PM UTC, original submission:

$ wget -nv ftp://ftp.de.debian.org/debian/dists/unstable/main/binary-i386/Packages.gz >/dev/null

2011-07-23 16:07:09 URL: ftp://ftp.de.debian.org/debian/dists/unstable/main/binary-i386/Packages.gz [9856388] -> "Packages.gz" [1]

$ echo $?

That message was not an error (or warning), so it should not have been
printed on stderr, but on stdout. Printing it on stderr makes it hard to
filter out informative messages and keep the errors; if the errors and
normal messages were separated to stderr and stdout respectively, a simple

>/dev/null would work.


Noël Köthe <nok>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by gscrivano (Posted a comment)
  • -unavailable- added by nok (Submitted the item)
  • -unavailable- added by nok (Debian BTS)

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 05 Aug 2011 08:00:42 PM UTCgscrivanoStatusNone=>Inspected
      Assigned toNone=>gscrivano
    Sat 23 Jul 2011 02:10:59 PM UTCnokCarbon-Copy-=>Added -unavailable-

    Back to the top

    Powered by Savane 3.1-cleanup1