8000 GitHub - Ebalaitung/jrep: grep-like utility written in Java
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Ebalaitung/jrep

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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!

About

grep-like utility written in Java

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 49.0%
  • Java 48.3%
  • Makefile 2.5%
  • C 0.2%
0