Finishing the idea .. http://curl.haxx.se/mail/lib-2010-01/0010.html
Fnmatch doesn't giving information about matched part of the string, just
returns bool matched/not. And if curl client is enhanced by wildcard too
...
$ curl ftp://example.tld/*-*-2009.txt -o "file_#2_#1_2009.txt"
could be small problem. In that case matched string have to be couted by
the client. If I implement fnmatch by myself, there is possible return
information about
matched parts.
Pavel
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html