bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [PATCH] add/explain need of quotes around wildcard patterns


From: Tim Rühsen
Subject: [Bug-wget] [PATCH] add/explain need of quotes around wildcard patterns
Date: Sun, 06 Oct 2013 21:56:08 +0200
User-agent: KMail/4.10.5 (Linux/3.10-3-amd64; KDE/4.10.5; x86_64; ; )

> > What do you think how we can help novices ?
> > Maybe we should explicitely warn in the docs of -A/-R about shell wildcard
> > expansion ?
> 
> The manual contains the following:
> 
> Recursive Accept/Reject Options
>        -A acclist --accept acclist
>        -R rejlist --reject rejlist
>            Specify comma-separated lists of file name suffixes or
> patterns to accept or reject. Note that if any of
>            the wildcard characters, *, ?, [ or ], appear in an element
> of acclist or rejlist, it will be treated as a
>            pattern, rather than a suffix.
> 
> Perhaps explanation of the need to enclose regular expressions within
> quotation marks should be added?
> 
> Similarly,
> 
> --ignore-case
>            Ignore case when matching files and directories.  This
> influences the behavior of -R, -A, -I, and -X
>            options, as well as globbing implemented when downloading
> from FTP sites.  For example, with this option,
>            -A *.txt will match file1.txt, but also file2.TXT,
> file3.TxT, and so on.
> 
> does not show the use of quotation marks.

A patch is attached.

Thanks for pointing that out.

Tim

Attachment: 0001-add-explain-quoting-of-wildcard-patterns-in-wget.tex.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]