> "grep -l" will stop at the first hit, so even if you could ask > grep which one of the alternatives it found, it'll miss Hegel > in a file where Kant figures first. Is that what you want?
Yes, I am fine with that. I include the matches in the Array in a way that the first one is the most important to me anyway, but I need to know which one, which I think should be someone possible, since grep must go through the array using some index, no? lbrtchx