Thank for your help. Now, it can work. Brian On Fri, 6 Dec 2002, Henrik Nordstrom wrote: > You should be able to make the following change: > > from: > grep -m X ... > to: > > grep ... | head -X > > where X is the number after -m > > Regards > Henrik >