cURL / Mailing Lists / curl-users / Single Mail

curl-users

-F with globbing

From: bird <bird1110_at_gmail.com>
Date: Thu, 5 Jan 2012 09:27:50 +0800

how to glob this in one command ? thx

curl -s http://10.0.0.1/query.php -F SN=00000 -b 123cookie-jar
curl -s http://10.0.0.1/query.php -F SN=00001 -b 123cookie-jar
.....
curl -s http://10.0.0.1/query.php -F SN=99999 -b 123cookie-jar

SN from 00000 to 99999

tried, not work
curl -s http://10.0.0.1/query.php -F SN=[00000-99999:1] -b 123cookie-jar

thx
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-05