> [EMAIL PROTECTED]:~$ wget 'http://www.greengecko.co.nz/*' > Warning: wildcards not supported in HTTP. > --11:33:17-- http://www.greengecko.co.nz/*
The issue under discussion was whether wget accepts multiple URLs on its command line in http. It does do so (mine does). Including the "*" inside quotes is neither globbing nor anything else, but simply part of the string making up the URL. What happens with asterisks as part of URLs is left for another thread. > >sh -c 'wget http://localhost/file{1,2,3}' > > I don't think the {...} construct counts as "globbing". It doesn't - I made that clear in my first post, and by explicitly stating in the command above that bash was to be used. It simply provides 3 http: URL arguments for wget. When downloading URLs, shell globbing isn't typically the sought-after feature - afterall what you want to download doesn't often have anything to do with what files are on your disk (unless you're mirroring). Nick(?) was looking for a short way to create a bunch of URLs differing only in a numeral. Some replies confused that with shell globbing. I can't think of any solution not involving a quick loop; bash's string construction doesn't help as it would still require a comma-separated list of all the numerals. Volker -- Volker Kuhlmann is possibly list0570 with the domain in header http://volker.dnsalias.net/ Please do not CC list postings to me.
