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.030144
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.
History
Date User Action Args
2012-02-09 20:36:29ubershmekelsetrecipients: + ubershmekel, ncoghlan, pitrou, giampaolo.rodola, eric.araujo, r.david.murray, eli.bendersky
2012-02-09 20:36:29ubershmekelsetmessageid: <1328819789.21.0.978217887905.issue13968@psf.upfronthosting.co.za>
2012-02-09 20:36:28ubershmekellinkissue13968 messages
2012-02-09 20:36:28ubershmekelcreate