Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.utanet.at!newscore.univie.ac.at!aconews-feed.univie.ac.at!aconews.univie.ac.at!not-for-mail Newsgroups: comp.lang.java.programmer From: Andreas Leitgeb Subject: Re: code base(not a technical question) References: <5a3429f6-8b58-423a-a51b-13c66e5db4ac@glegroupsg2000goo.googlegroups.com> Reply-To: avl@logic.at User-Agent: slrn/pre0.9.9-111 (Linux) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: Date: 24 Aug 2011 19:21:49 GMT Lines: 23 NNTP-Posting-Host: gamma.logic.tuwien.ac.at X-Trace: 1314213709 tunews.univie.ac.at 71616 128.130.175.3 X-Complaints-To: abuse@tuwien.ac.at Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7350 Asit Dhal wrote: > This is what I do now. > I have a folder named Java. In this folder code snippets are stored > in small text files. File name is what the snippet is about. > e.g.:- > CounDownLatch.java > HorseRace.java > SingletonThreaSafe.java > What I need is every file should be associated with some index string, > which is search able. > Again grep can't help me as I use Windows 7 for development environment. I'm sure, there's also "grep" for Windows (7, like any other). But then, grep wouldn't satisfy your needs, anyway, as you'd better find some kind of fuzzy-search-engine. A non-fuzzy search wouldn't find anything for "Count" or "Thread" among the snippets you named... PS: I'm being serious here. If your spelling isn't all that good, then you're going to have a hard time later, trying to figure out with what spelling errors you might have stored a particular snippet some time ago. A fuzzy search may then be a big help.