cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Globbing error in Linux

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 7 May 2009 08:27:31 +0200 (CEST)

On Wed, 6 May 2009, Derek Goring wrote:

> curl
> http://64.79.206.20:9090/dods/gfs/global/gfs20090506/gfs_06z.ascii?prmslmsl[0:60][53:53][177:177]
> -o test.txt
>
> but in Ubuntu Linux using curl 7.18.0 I get a globbing error.  Apparently it
> doesn't like the bits in square brackets.

Yes, use -g to switch off globbing.

Do note that the brackets [] are not legal parts of a URL so technically
you're doing it wrong.

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-05-07