On Fri, Oct 01, 1999 at 04:19:51PM +0000, Dale Scheetz wrote: > This leaves me with the unresolved problem of distinguishing between the > two package names. > > I just read through the grep manpage (again) looking for something that > will enforce an exact match, when I realised that I can simply skip this > step and do the selection in awk (which I was using before to peel off the > section name from the grep output), so the right command is:
it seems to me that the word you are looking for (i.e. the package name) will always be the first word on a line, so: grep "^PACKAGENAME " override.potato will do the job, and is probably significantly faster than an awk script. craig -- craig sanders