cdxdoc

CGREP : Select lines from text files

USAGE cdx cgrep [options...] [files...]

Command Line Options

short long description
-p –pattern=Column,Matcher,Pattern Select line where this col matches this pattern.

Lines are printed if they match all the patterns.

Patterns

Patterns have three comma delimited parts. The third part can have commas. The parts are :

  1. A Named Column
  2. A Matcher
  3. The pattern, interpreted as per the matcher.

If you specify multiple patterns, they must all match.

Examples

home