Skip to content

CoolElvis/ruby_grep

Repository files navigation

SqRubyGrep

Installation

Add this line to your application's Gemfile:

gem 'sq_ruby_grep'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sq_ruby_grep

Usage

$ sq_ruby_grep <pattern> <file> [options]

-A, --after-context=NUM          Print NUM lines of trailing context after matching lines.

-B, --before-context=NUM         Print NUM line of leading context before matching lines.

--not-colorize                   Without colorize

-h, --help                       Prints this help

About

Like a grep (1)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages