Grepper

From software
Revision as of 18:53, 15 March 2014 by Thorfinn (talk | contribs)
Jump to navigation Jump to search

Small usefull command line program called grepper which is a usefull to complement POSIX grep.

The idea is that you have a file that can be 'whatever' delimited and then you want to extract entire rows, but you only want to do the search in specific columns.

  1. You supply a file containing all the keys that will be searched for in the datafile. The program will only do a single pass of the datafile.
  2. You specify which column to use for the search.

The program supports the following options which should make it somewhat similar to grep

  • -i don't care about cases (capital letter vs small letter)
  • -w seach for whole words
  • -v do complement