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                

University of Ferrara - Dept. of Eng.
GNU Wget - HTTP/FTP file retrieval tool
Deep Space 6 - IPv6 for Linux  
Ferrara Linux User Group       

Reply via email to