curl-users
Re: -F with globbing
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 7 Jan 2012 15:56:42 +0100 (CET)
Date: Sat, 7 Jan 2012 15:56:42 +0100 (CET)
On Thu, 5 Jan 2012, bird wrote:
> 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
Write a shell script! curl doesn't "glob" on the -F fields.
-- / daniel.haxx.se ------------------------------------------------------------------- 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.htmlReceived on 2012-01-07