Tony Lewis wrote:
Hrvoje Niksic wrote:

I don't see a clear line that connects --filter to glob patterns as used
by the shell.

I want to list all PDFs in the shell, ls -l *.pdf

I want a filter to keep all PDFs, --filter=+file:*.pdf

you don't need --filter for that. you can simply use -A.

I predict that the vast majority of bug reports and support requests will be
for users who are trying a glob rather than a regular expression.

i you might be right about this. but i think your point of view is somewhat flawed. hrvoje and i designed --filter to extend current wget filtering capabilities, not to replace them. in this sense, --filter should be used only when regex filtering capabilities are needed. if not, -A/R & company are just fine.

--
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi                          http://www.tortonesi.com

University of Ferrara - Dept. of Eng.    http://www.ing.unife.it
GNU Wget - HTTP/FTP file retrieval tool  http://www.gnu.org/software/wget
Deep Space 6 - IPv6 for Linux            http://www.deepspace6.net
Ferrara Linux User Group                 http://www.ferrara.linux.it

Reply via email to