Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: SysFileTree on Linux
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.

Report this thread to moderator Post Follow-up to this message
Old Post
Bob Martin
04-03-08 12:55 AM


Sponsored Links




Last Thread Next Thread Next
Pages (3): « 1 2 [3]
Search this forum -> 
Post New Thread

Rexx archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:02 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.