Re: [Corpora-List] Grep for Windows

From: maxwell@ldc.upenn.edu
Date: Fri Dec 15 2006 - 17:36:48 MET

  • Next message: Rob Malouf: "Re: [Corpora-List] Grep for Windows"

    Quoting Michaela Atterer <atterer@ims.uni-stuttgart.de>:
    > If you don't find any good program, maybe writing a perl-script that
    > emulates grep would be an option?
    > Even though the regex syntax would be slightly different...

    Since there doesn't seem to be any standard regex syntax (grep, sed,
    etc. all seem to have slightly different views on the issue), maybe
    learning Perl syntax for regex's isn't that bad. I believe Python uses
    the same syntax.

    Besides, none of the standard grep implementations that I know of
    handle Unicode (at least not in any useful way). Dave Graff of the LDC
    (who sometimes shows up on this list) has implemented what he calls
    'grepp', a Perl implementation that handles Unicode (IIRC, in various
    encodings, not just UTF-8). It looks like it's downloadable at
      http://www.netwise.it/xml/perlmonks/?node_id=345275
    along with the source of its man page.

       Mike Maxwell
       CASL/ U MD

    ----------------------------------------------------------------
    This message was sent using IMP, the Internet Messaging Program.



    This archive was generated by hypermail 2b29 : Fri Dec 15 2006 - 17:57:42 MET