cURL / Mailing Lists / curl-users / Single Mail

curl-users

globbing error

From: Brian Moon <brianm_at_dealnews.com>
Date: Fri, 21 Sep 2001 12:33:02 -0500

Hi,

I am using the command line tool to pull several urls down at one time and
having trouble getting the files saved to correct names. According to the
docs this:

# curl http://images.dealnews.com/arrow_{down,up}.gif --output "#1.gif"

should yield two files named down.gif and up.gif. Instead I get the first
file output to 1.gif and the other output to the screen.

If I supply multiple names:

# curl http://images.dealnews.com/arrow_{down,up}.gif --output
"down.gif" --output "up.gif"

I get the files correctly. However this is a pain.

Is this a known bug? I am using RedHat 7.1 with curl 7.8.1
(i686-pc-linux-gnu) libcurl 7.8.1 (OpenSSL 0.9.6)

Thanks,

Brian Moon
------------------------------------------
dealnews.com, Inc.
Makers of dealnews & dealmac
http://dealnews.com/ | http://dealmac.com/
Received on 2001-09-21