Update of bug #61050 (project wget):
Status: None => Invalid
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Sorry, this is documented behaviour and will not be changed in Wget. The
manual explicitly states that the -O option is equivalent to the shell
redirection operator ">". Thus, creating / truncating an existing file to 0
bytes immediately is the correct behaviour.
I completely understand where you are coming from. I don't like this either.
But this has been the documented behaviour for many many years now and
multiple scripts rely on it to be so. As a result, the default will not be
changed in the interests of backwards compatibility.
GNU Wget2, the next major version of Wget changes the meaning of -O and
functions exactly as you described / expected it to. It was the first breaking
change I introduced in there :)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61050>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/