[Linux-disciples] Using curl

Stephen R Laniel linux-disciples@bostoncoop.net
Tue, 27 Jan 2004 09:34:28 -0500


My understanding is that curl can download URLs with regexes in
them. At my job right now, being able to loop through a list of
strings that look like

MS1234567-MS7890123

and download the corresponding files

MS1234567-MS7890123*.pdf

would be extremely handy and a great time-saver. Yet I can't seem
to get the following to work:

curl http://blah/.../MS1234567-MS7890123*.pdf

The error I'm getting back from the server suggests that the '*'
is getting passed as a literal '*', rather than getting
interpreted within curl as a regex.

Help, please? This would probably save me a few hours of labor.

Thanks,
Steve

-- 
Stephen R. Laniel
http://laniels.org/