La segunda URL que das como ejemplo (dw.com.com/redir...) es solo una re-dirección hacia el archivo original.
sendai@limbo ~ $ wget -S 'http://dw.com.com/redir?edId=3&siteId=4&oId=3...8071%26psid%3D10019223%26fileName%3Davast_free_antivirus_setup.exe'
--2012-11-27 21:25:06-- http://dw.com.com/redir?edId=3&siteId=4&oId=3000-2239_4-10019223&ontId=2239_4&spi...D12808071%26psid%3D10019223%26fileName%3Davast_free_antivirus_setup.exe
Resolviendo dw.com.com... 216.239.120.50
Conectando con dw.com.com[216.239.120.50]:80... conectado.
Petición HTTP enviada, esperando respuesta...
HTTP/1.1 302 Found
Date: Wed, 28 Nov 2012 03:28:15 GMT
Server: Apache/2.0
Pragma: no-cache
Cache-control: no-cache, must-revalidate, no-transform
Vary: *
Expires: Fri, 23 Jan 1970 12:12:12 GMT
Location: http://software-files-a.cnet.com/s/software/12/80/80/71/avast_free_antivirus_setup.exe?token=1354108731_17...71&psid=10019223&fileName=avast_free_antivirus_setup.exe
Content-Length: 0
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAi IVDi CONi OUR OTRi IND PHY ONL UNI FIN COM NAV INT DEM STA"
Keep-Alive: timeout=363, max=785
Connection: Keep-Alive
Content-Type: text/plain
Localización: http://software-files-a.cnet.com/s/software/12/80/80/71/avast_free_antivirus_setup.exe?token=1354108731_17d6...d=10019223&fileName=avast_free_antivirus_setup.exe [siguiendo]
--2012-11-27 21:25:07-- http://software-files-a.cnet.com/s/software/12/80/80/71/avast_free_antivirus_setup.exe?token=1354108731_17d6ad31f187..019223&fileName=avast_free_antivirus_setup.exe
Resolviendo software-files-a.cnet.com... 23.62.63.18, 23.62.63.24
Conectando con software-files-a.cnet.com[23.62.63.18]:80... conectado.
Petición HTTP enviada, esperando respuesta...
HTTP/1.1 200 OK
Server: Apache
ETag: "94e28010255d126fe7bfe4e55c06492c:1351718223"
Last-Modified: Wed, 31 Oct 2012 21:17:02 GMT
Accept-Ranges: bytes
Content-Length: 97495576
Content-Type: application/octet-stream
Date: Wed, 28 Nov 2012 03:28:16 GMT
Connection: keep-alive
Longitud: 97495576 (93M) [application/octet-stream]
La url (software-files-a.cnet...) es la url real (y probablemente temporaria) del archivo.
Imagino los browsers normales usaran esta segunda url para darle nombre al archivo.
Solo se me ocurre que hagas lo mismo con mas wget y bash