Adrien Dumont <[email protected]> writes: > Hi, > > I have find a bug in GNU Wget 1.13.4 : > > wget "$edt_url" --config="$wget_config" \ > --post-data="login=$edt_login&password=$edt_password&action=Connexion" \ > --keep-session-cookies --save-cookies '/tmp/edt_cookies.txt' \ > -O '/dev/null' -nv -a "$log" > > is not equivalent to > > wget "$edt_url" \ > --post-data="login=$edt_login&password=$edt_password&action=Connexion" \ > --keep-session-cookies --save-cookies '/tmp/edt_cookies.txt' \ > -O '/dev/null' -nv -a "$log" --config="$wget_config"
indeed it is a bug. I have pushed a patch that should fix it: commit b56a528aea6287a9fe5b7b339a4b5ba5d0b9b470 Author: Giuseppe Scrivano <[email protected]> Date: Sun Dec 9 17:04:39 2012 +0100 Do not honor --config only when used as first long argument Thanks to have reported it! Giuseppe
