[CentOS] [OT] Grep Patterns

Wed Apr 7 23:01:18 UTC 2010
Joseph L. Casale <jcasale at activenetwerx.com>

>How would I write I want to find 'CP_', but NOT instances of 'CPLAT::CP_'?

What comes before 'CP_' when you want a match? Whitespace, other chars, is it
just 'CPLAT::CP_' you don't want?

Anchor the search on that criteria, like a negated group before the 'CP_' or
at least one of 'whitespace' for example...