Fossil SCM
Mention difference between Fossil globs and Unix shell globs
Commit
8df6df49fc6c988c692c7e069f5a4f346eba0d1abd8d184f7bebc3fda3595936
Parent
541e32498932ce7…
1 file changed
+5
-1
+5
-1
| --- www/globs.md | ||
| +++ www/globs.md | ||
| @@ -41,16 +41,20 @@ | ||
| 41 | 41 | |
| 42 | 42 | Some examples: |
| 43 | 43 | |
| 44 | 44 | [a-d] Matches any one of 'a', 'b', 'c', or 'd' |
| 45 | 45 | [a-] Matches either 'a' or '-' |
| 46 | - [][] Matches either '[' or ']' | |
| 46 | + [][] Matches either ']' or '[' | |
| 47 | 47 | [^]] Matches exactly one character other than ']' |
| 48 | 48 | []^] Matches either ']' or '^' |
| 49 | 49 | |
| 50 | 50 | The glob is compared to the canonical name of the file in the checkout |
| 51 | 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. | |
| 52 | 56 | |
| 53 | 57 | A list of GLOBs is simply one or more GLOBs separated by whitespace or |
| 54 | 58 | commas. If a GLOB must contain a space or comma, it can be quoted with |
| 55 | 59 | either single or double quotation marks. |
| 56 | 60 | |
| 57 | 61 |
| --- 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 |