/rigrep

An implementation of grep, using reverse index.

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

Reverse Index GREP

rigrep logo

Get Started

Go to the directory of your choice, then use the git clone command to get a local clone of this repo.

Cloning

Usage

After cloning this repo, you should get yourself a Linux terminal. Kidding :)

You should first run rigrepdb.py with the first argument as the folder/directory you want to index or "crawl". This will create the necessary .index file which will be used by rigrep.py afterwards.

Run rigrep.py with the word you are looking for as the first argument.

Main Demo