Code Comments
Programming Forum and web based access to our favorite programming groups.in 37770 20080402 175535 Michael Lueck <mlueck@lueckdatasystems.com> wrote: >Bob Martin wrote: > snipped > >I hope this helps. Hi Michael, thanks for running the test, the same results as me, more or less. I have a file in my home dir named .jedit/macros/.process.bsh.marks and neither the normal search (~/*) nor the "dot-search" (~/.*) found this file. I think the normal search goes down through the dir hierarchy, ignoring dot files and dot directories. This is fine for normal use and I have used it in dozens of programs without thinking too much about it. The "dot search" seems to go down the hierarchy returning files and dirs which start with a dot but not searching dirs which do not start with a dot after it has reached a dot directory. (Awful explanation, but the best I ca n manage.) This explains why I don't see my .jedit/macros/.process.bsh.marks file and why your earlier test worked. This makes the "dot search" useless, but as it probably wasn't designed to work this way one can't complain. I couldn't suggest how it might otherwise function. Thanks for your help. For my current task I'll list *all* the files with vd ir and parse the output.
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.