On Wed, Dec 17, 2008 at 5:35 PM, ashok abraham <[email protected]> wrote:
> with egrep also iam getting both the lines
>
>
> cn: PUN/PROJ/RAJENDRA TEKADE
> mail: [email protected]
> --
> cn: PUN/PROJ/KIRAN PANDHE
> mail: [email protected]

Haven't tested this, but you could pipe it to grep -v like this:

egrep -AN PUN filename | grep -v PUN

Let us know if it works.

Regards,
NMK.

Reply via email to