inside grep $_ is a special var assigned to each value of the array.
use another var for the //;
-Original Message-
From: Nazary, David [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 12:29 PM
To: '[EMAIL PROTECTED]'
Subject: unexpected results with grep
Hi,
I am
instead of $_ I used $name but nothing was found by grep. What do you mean
by another variable?
-Original Message-
From: Nikola Janceski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 9:40 AM
To: 'Nazary, David'; '[EMAIL PROTECTED]'
Subject: RE: unexpected results with grep
(don't top-post; see responses in context below...)
-Original Message-
From: Nazary, David [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 1:12 PM
To: 'Nikola Janceski'; '[EMAIL PROTECTED]'
Subject: RE: unexpected results with grep
instead of $_ I used $name
-Original Message-
From: Bob Showalter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 1:33 PM
To: 'Nazary, David'; '[EMAIL PROTECTED]'
Subject: RE: unexpected results with grep
... If you want to find the labels
containing the current name, you need something like
]'
Subject: RE: unexpected results with grep
-Original Message-
From: Bob Showalter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 1:33 PM
To: 'Nazary, David'; '[EMAIL PROTECTED]'
Subject: RE: unexpected results with grep
... If you want to find the labels
containing