Skip to content

cheusov/jrep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jrep is a command-line grep-like utility written in Java.
Features:
  -- Java regular expressions
     (https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html)
  -- Support for RE2J
     (https://github.com/google/re2)
  -- POSIX options (excluding -E and -G)
     (http://pubs.opengroup.org/onlinepubs/009604499/utilities/grep.html)
  -- most GNU grep(1) options
     (https://www.gnu.org/software/grep/)
  -- Extensions over GNU grep(1):
     options -O, -2 and -8

Documentation:

  -- https://github.com/cheusov/jrep/blob/master/scripts/jrep.pod
       or
  -- man page after installation

Installation instruction (Example -- Debian Linux distribution):

  1) install mk-configure (https://github.com/cheusov/mk-configure)

     # apt-get install mk-configure

  2) install JDK-7 or later

     # apt-get install openjdk-7-jdk

  3) install maven

     # apt-get install maven

  4) Set JAVA_HOME environment variable

     # export JAVA_HOME=/usr/lib/jvm/default-java

  5) We also need po2man program which is in perl package

     # apt-get install perl
     
  6)
     # mkcmake all
     # mkcmake test
     # mkcmake install

J/RE/P!