Small analog for grep utility
Install it from RubyGems.org:
$ gem install grepity
Or install it from GitHub.com:
$ git clone [email protected]:kisakov/grepity.git
$ rake install
Run grepity
for grep text from file
Usage: grepity text file [OPTIONS]
Example: grepity localhost /etc/hosts
Common options:
-i, --ignorecase ignore case sensivity
-w, --word match only full wordmatch
-l, --line show line numbers
-h, --help Help screen
Use rake test
to run tests
- Fork it ( https://github.com/kisakov/grepity/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Ensure all tests passed (
rake test
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request