rEgrep is a very simple wrapper for egrep to allow me to search a file over and over and over again. I am assuming a linux system with grep installed.
- modify .rvmrc to your requirements
- gem install bundler
- bundle install
- chmod +x search.rb
./search.rb /path/to/file.name /path/to/file2.name