Is there a way of invoking wget that produces no output if the operation is successful (let's assuming that I'm fetching exactly one URL) and produces appropriate error messages if it is not?
I would have thought this was easy, but I can't figure out how to do it. Even redirecting stdout to null doesn't work, since wget sends a final success message to stderr: 2017-08-09 22:00:39 URL:http://www.gocomics.com/calvinandhobbes [99643] -> "calvinandhobbes.4" [1] Dale