With lynx, I can use a 'lynx -dump' and redirect the output to a specific file name. How do I do the equivalent in wget? It seems to send save the file as the same name that was on the source location. This isn't bad if source is a straight-forward html or text file but when when you are invoking a cgi script with an argument, you get the argument as the filename that is saved. I can't see any flag that you can use to name the file. -o is the closest but this names the log file.
To summarize, I would like to be able to do something like:
wget
www.xyz.com > test1.html
Is there some equivalent to this with wget?