in reply to Re^2: Search a file with ids from another file
in thread Search a file with ids from another file
So I want to loop through the log for each one of those, find it and capture the "next" line after it.
Are the lines which can match the ids in the same order as the ids? To each id does correspond a unique matching line? How many are the ids? (This can make a difference - since you print them, I suppose they're not too many.) Are they all in this form? (i.e. a capital letter followed by five numbers.) Can the "next" line also match one id, or is this impossible a priori?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Search a file with ids from another file
by sigzero (Novice) on May 07, 2007 at 20:17 UTC | |
by blazar (Canon) on May 07, 2007 at 20:44 UTC |