Message152982
| Author |
ubershmekel |
| Recipients |
eli.bendersky, eric.araujo, giampaolo.rodola, ncoghlan, pitrou, r.david.murray, ubershmekel |
| Date |
2012年02月09日.20:36:28 |
| SpamBayes Score |
0.030144034 |
| Marked as misclassified |
No |
| Message-id |
<1328819789.21.0.978217887905.issue13968@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Given
/home/a
/home/a/k.py
/home/a/c/j.py
/home/b/z.py
/home/b/c/f.py
and a current directory of /home/a, we'd have:
pattern matches
------- -------
*.py k.py, c/j.py
c/*.py c/j.py
c* c
../*.py ../a/k.py, ../a/c/j.py, ../b/z.py, ../b/c/f.py
../c/*.py ../b/c/f.py, ../a/c/j.py
For relative paths the double dots decide where to start walking and from then on you can imagine a glob on every subdir. In the last 2 examples the glob would have been '*.py' and 'c/*.py' respectively. |
|