Re: [OT] Grep Patterns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

>>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?

Yes whitespace always.

So what I am doing is a massive replace. So this grep will allow me to see how many instances still need to be replaced.

I am replacing CP_ with CPLAT::CP_ and when i execute the grep I want to ignore CPLAT:CP_ so I just see the CP_ that still need to be done.

-Jason
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux