Fossil SCM

Mention difference between Fossil globs and Unix shell globs

andygoth 2017-04-16 01:09 glob-docs
Commit 8df6df49fc6c988c692c7e069f5a4f346eba0d1abd8d184f7bebc3fda3595936
1 file changed +5 -1
+5 -1
--- www/globs.md
+++ www/globs.md
@@ -41,16 +41,20 @@
4141
4242
Some examples:
4343
4444
[a-d] Matches any one of 'a', 'b', 'c', or 'd'
4545
[a-] Matches either 'a' or '-'
46
- [][] Matches either '[' or ']'
46
+ [][] Matches either ']' or '['
4747
[^]] Matches exactly one character other than ']'
4848
[]^] Matches either ']' or '^'
4949
5050
The glob is compared to the canonical name of the file in the checkout
5151
tree, and must match the entire name to be considered a match.
52
+
53
+Unlike typical Unix shell globs, wildcard sequences are allowed to
54
+match '/' directory separators as well as the initial '.' in the name
55
+of a hidden file or directory.
5256
5357
A list of GLOBs is simply one or more GLOBs separated by whitespace or
5458
commas. If a GLOB must contain a space or comma, it can be quoted with
5559
either single or double quotation marks.
5660
5761
--- www/globs.md
+++ www/globs.md
@@ -41,16 +41,20 @@
41
42 Some examples:
43
44 [a-d] Matches any one of 'a', 'b', 'c', or 'd'
45 [a-] Matches either 'a' or '-'
46 [][] Matches either '[' or ']'
47 [^]] Matches exactly one character other than ']'
48 []^] Matches either ']' or '^'
49
50 The glob is compared to the canonical name of the file in the checkout
51 tree, and must match the entire name to be considered a match.
 
 
 
 
52
53 A list of GLOBs is simply one or more GLOBs separated by whitespace or
54 commas. If a GLOB must contain a space or comma, it can be quoted with
55 either single or double quotation marks.
56
57
--- www/globs.md
+++ www/globs.md
@@ -41,16 +41,20 @@
41
42 Some examples:
43
44 [a-d] Matches any one of 'a', 'b', 'c', or 'd'
45 [a-] Matches either 'a' or '-'
46 [][] Matches either ']' or '['
47 [^]] Matches exactly one character other than ']'
48 []^] Matches either ']' or '^'
49
50 The glob is compared to the canonical name of the file in the checkout
51 tree, and must match the entire name to be considered a match.
52
53 Unlike typical Unix shell globs, wildcard sequences are allowed to
54 match '/' directory separators as well as the initial '.' in the name
55 of a hidden file or directory.
56
57 A list of GLOBs is simply one or more GLOBs separated by whitespace or
58 commas. If a GLOB must contain a space or comma, it can be quoted with
59 either single or double quotation marks.
60
61

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button