Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #7352

Re: code base(not a technical question)

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: code base(not a technical question)
Date Wed, 24 Aug 2011 13:09:20 -0700
Organization A noiseless patient Spider
Lines 29
Message-ID <j33lps$hch$1@dont-email.me> (permalink)
References <de8aae6f-9506-41cf-aaca-1e7492a1764d@glegroupsg2000goo.googlegroups.com> <j31bjj$vnu$1@dont-email.me> <j31e0l$gdt$1@dont-email.me> <5a3429f6-8b58-423a-a51b-13c66e5db4ac@glegroupsg2000goo.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Wed, 24 Aug 2011 20:09:33 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="17809"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ALAoy5odO5ppRzqgsiSqunZZguD7xtMc="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0
In-Reply-To <5a3429f6-8b58-423a-a51b-13c66e5db4ac@glegroupsg2000goo.googlegroups.com>
Cancel-Lock sha1:uYqA8p2jVp0swQ+LrV6pwjUYY/0=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7352

Show key headers only | View raw


On 8/24/2011 12:03 PM, Asit Dhal wrote:
> 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.


grep and other unix tools are of course available for Windows.

I don't understand what you think you're going to build the index string 
with.  What goes in the index string?  All symbols in the file?  Just 
the file names?  Please be as specific as possible.


For example, here's a code snippet:

hw.java:
package simple;
public class Hello {
   public static void Main( String... args ) {
     System.out.println( "Hello world" );
   }
}

What precisely would go in your index string for this example?

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

code base(not a technical question) Asit Dhal <lipun4u@gmail.com> - 2011-08-23 10:54 -0700
  Re: code base(not a technical question) Robert Klemme <shortcutter@googlemail.com> - 2011-08-23 21:52 +0200
    Re: code base(not a technical question) Asit Dhal <lipun4u@gmail.com> - 2011-08-23 13:48 -0700
      Re: code base(not a technical question) Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-08-23 18:05 -0300
        Re: code base(not a technical question) Arne Vajhøj <arne@vajhoej.dk> - 2011-08-23 18:58 -0400
          Re: code base(not a technical question) Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-08-23 20:24 -0300
      Re: code base(not a technical question) markspace <-@.> - 2011-08-23 14:52 -0700
      Re: code base(not a technical question) Arne Vajhøj <arne@vajhoej.dk> - 2011-08-23 18:57 -0400
  Re: code base(not a technical question) Jeff Higgins <jeff@invalid.invalid> - 2011-08-23 16:53 -0400
    Re: code base(not a technical question) Jeff Higgins <jeff@invalid.invalid> - 2011-08-23 16:59 -0400
  Re: code base(not a technical question) Jeff Higgins <jeff@invalid.invalid> - 2011-08-23 19:06 -0400
    Re: code base(not a technical question) Jeff Higgins <jeff@invalid.invalid> - 2011-08-23 19:47 -0400
      Re: code base(not a technical question) Asit Dhal <lipun4u@gmail.com> - 2011-08-24 12:03 -0700
        Re: code base(not a technical question) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-24 19:21 +0000
        Re: code base(not a technical question) "Charles Hottel" <chottel@earthlink.net> - 2011-08-24 15:50 -0400
        Re: code base(not a technical question) markspace <-@.> - 2011-08-24 13:09 -0700
        Re: code base(not a technical question) Robert Klemme <shortcutter@googlemail.com> - 2011-08-25 10:49 +0200
  Re: code base(not a technical question) Roedy Green <see_website@mindprod.com.invalid> - 2011-08-25 13:07 -0700
    Re: code base(not a technical question) Martin Gregorie <martin@address-in-sig.invalid> - 2011-08-25 22:21 +0000

csiph-web