Project

rubygrep

0.0
No commit activity in last 3 years
No release in over 3 years
Globally searches for in files regexp and prints it
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0
>= 0
 Project Readme

Rubygrep

Searches for regexp in files and print out strings that match.

Installation

$ gem install rubygrep

Usage

Usage: rubygrep [options] expression file1 [file2 file3 ...]

-r, --recursive         recursively read directories

-i, --ignore-case       Ignore case when matching strings.

-v, --invert-selection  Invert the sense of matching, to select non-matching lines.

-n, --line-number       Prefix each line of output with the 1-based line number within its input file.

-H, --with-filename     Print the file name for each match. This is the default when there is more than one file to search.

Contributing

  1. Fork it ( http://github.com//rubygrep/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request