Add a New Comment (Rich Markup)
Yes, please add something like `-nvv` to suppress that one line so that we can stop writing: $ wget -nv whatever 2>&1 | grep -v ' -> '
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.
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.
$ 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 $? 0 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.
http://bugs.debian.org/141323
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 3 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.11