Re: Nested loop not working

2010-07-16 Thread Alf P. Steinbach /Usenet
* Johann Spies, on 16.07.2010 16:34: I am overlooking something stupid. I have two files: one with keywords and another with data (one record per line). I want to determine for each keyword which lines in the second file contains that keyword. The following code is not working. It loops throu

Re: Nested loop not working

2010-07-16 Thread Dave Angel
Johann Spies wrote: I am overlooking something stupid. I have two files: one with keywords and another with data (one record per line). I want to determine for each keyword which lines in the second file contains that keyword. The following code is not working. It loops through the second fil

Re: Nested loop not working

2010-07-16 Thread MRAB
Johann Spies wrote: I am overlooking something stupid. I have two files: one with keywords and another with data (one record per line). I want to determine for each keyword which lines in the second file contains that keyword. The following code is not working. It loops through the second fil

Re: Nested loop not working

2010-07-16 Thread Ian Kelly
On Fri, Jul 16, 2010 at 8:34 AM, Johann Spies wrote: > I am overlooking something stupid. > > I have two files: one with keywords and another with data (one record per > line). > > I want to determine for each keyword which lines in the second file > contains that keyword. > > The following code