Jules Bean wrote: > Is there any reason that dpkg -S is an order of magnitude slower than an > equivalent grep? Well, consider things like this: joey@kite:~/> dpkg -S /usr/X11R6/bin/xconsole diversion by xaw-wrappers from: /usr/X11R6/bin/xconsole diversion by xaw-wrappers to: /usr/X11R6/bin/xconsole.real xbase: /usr/X11R6/bin/xconsole dpkg -s is doing a more complicated job than a simple grep. It is still too slow, though. :-) -- see shy jo