Will Kuhn <[EMAIL PROTECTED]> writes:

> Apparentl wget does not handle single quote or double quote very well.
> wget with the following arguments give error.
>
>  wget
>  --user-agent='Mozilla/5.0' --cookies=off --header
>  'Cookie: testbounce="testing";
>  ih="b!!!!'!!!0T!!!!#8G(5A!!#c`!!!!#8HWsH!!#wt!!!!#8I0HY!!#yf!!!!#8I0G3";
>  cf="b!!!!$!!!!y~!!!D)!!!!#"; hi="b!!!!#!!!D)8I=C]"'
>  'ad.yieldmanager.com/imp?z=12&n=2&E=01-329&I=508&S=508-1'
>  -O /home/admin/http/wwwscanfile.YYO3Cy

You haven't stated which error you get, but on my system the error
comes from the shell and not from Wget.  The problem is that you used
single quotes to quote a string that contains, among other things,
single quotes.  This effectively turned off the quoting for some
portions of the text, causing the shell to interpret the bangs ("!") 
as (invalid) history events.

To correct the problem, replace ' within single quotes with something
like '\'':

wget --user-agent='Mozilla/5.0' --cookies=off --header 'Cookie: 
testbounce="testing"; 
ih="b!!!!'\''!!!0T!!!!#8G(5A!!#c`!!!!#8HWsH!!#wt!!!!#8I0HY!!#yf!!!!#8I0G3"; 
cf="b!!!!$!!!!y~!!!D)!!!!#"; hi="b!!!!#!!!D)8I=C]"' 
'ad.yieldmanager.com/imp?z=12&n=2&E=01-329&I=508&S=508-1' -O 
/home/admin/http/wwwscanfile.YYO3Cy

Reply via email to