File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 20
20
* [ Exclude files from the matching] ( #exclude-files-from-the-matching )
21
21
* [ Wildcards: Match any one character with question mark ('?')] ( #wildcards-match-any-one-character-with-question-mark- )
22
22
* [ Case sensitivity] ( #case-sensitivity )
23
+ * [ Tilde expansion] ( #tilde-expansion )
23
24
- [ Contributing] ( #contributing )
24
25
- [ License] ( #license )
25
26
@@ -260,6 +261,19 @@ foo@bar:~$ ./glob -i "test_files_05/*.png","test_files_05/*.PNG"
260
261
"test_files_05/file4.PNG"
261
262
```
262
263
264
+ ### Tilde expansion
265
+
266
+ ``` console
267
+ foo@bar:~ $ ./glob -i " ~/.b*"
268
+ "/Users/pranav/.bashrc"
269
+ "/Users/pranav/.bash_sessions"
270
+ "/Users/pranav/.bash_profile"
271
+ "/Users/pranav/.bash_history"
272
+
273
+ foo@bar:~ $ ./glob -i " ~/Documents/Projects/glob/**/glob/*.h"
274
+ "/Users/pranav/Documents/Projects/glob/include/glob/glob.h"
275
+ ```
276
+
263
277
## Contributing
264
278
Contributions are welcome, have a look at the [ CONTRIBUTING.md] ( CONTRIBUTING.md ) document for more information.
265
279
You can’t perform that action at this time.
0 commit comments