[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] No warning printed when using options: -N -O-
From: |
Ángel González |
Subject: |
Re: [Bug-wget] No warning printed when using options: -N -O- |
Date: |
Wed, 29 Apr 2015 01:18:50 +0200 |
User-agent: |
Thunderbird |
On 28/04/15 21:56, Nik Nyby wrote:
The wget manual states:
‘-N’ (for timestamp-checking) is not supported in combination with ‘-O’:
since file is always newly created, it will always have a very new
timestamp. A warning will be issued if this combination is used.
(In this section of the manual):
http://www.gnu.org/software/wget/manual/html_node/Download-Options.html#Download-Options
The warning is printed if you do:
wget -N -O http://example.com
But the warning isn't printed if you do something like:
wget -N -O- http://example.com
Maybe the statement in the manual should be revised to avoid confusion?
See: https://github.com/docker/docker/pull/12857
Works for me in wget 1.16.3:
wget -N -O- http://example.com > /dev/null
WARNING: timestamping does nothing in combination with -O. See the manual
for details.
(and goes on downloading it)
Resolving example.com (example.com)... 93.184.216.34,
2606:2800:220:1:248:1893:25c8:1946
What version are you using?