RE: unexpected results with grep

2002-04-23 Thread Nikola Janceski
np.. I forgot to CC the list those past few times. > -Original Message- > From: Nazary, David [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 1:34 PM > To: 'Nikola Janceski' > Subject: RE: unexpected results with grep > > > It worked just f

Re: unexpected results with grep

2002-04-23 Thread drieux
On Tuesday, April 23, 2002, at 09:28 , Nazary, David wrote: [..] > open(NAMES, "names"); > open(LABELS, "labels"); > @labels = ; > @names = ; > > foreach $name (@names){ > open(NEW, ">$name");#create a file with the name from @names > @labeled_names = grep (/$_/, @labels); >