-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
47 lines (32 loc) · 1.13 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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!