curl-users
Use percent sign (%) as command line argument
From: dimitri petrov <qotsa_at_bk.ru>
Date: Mon, 29 Oct 2007 03:23:59 +0300
Date: Mon, 29 Oct 2007 03:23:59 +0300
Hi,
Is it possible to use the percent sign as a command line argument for curl? For example when I want to login on a webpage and there is a percent sign in my password (which is actually the case :-) ) then my command line would be something like this:
curl -u username:pass%word http://mysite.com
Of course this won't work because the percent sign has a special meaning for the windows shell. But how can I escape it. I tried %% and also ^% but both didn't work.
Thanks for any help in advance!
Received on 2007-10-29