On Wed, Feb 14, 2007 at 08:32:42AM -0800, Andrew Sackville-West wrote: > > apt-cache --names-only search tcl | grep doc | wc -l > > 6 > > [EMAIL PROTECTED]:/tmp$ apt-cache -n search tcl doc | wc -l > 6 > > heh. multiple words in the search string saves a pipe and grep ;-P
Too true! Weird behaviour between 'time apt-cache --names-only search tcl | grep doc | wc -l' and 'apt-cache -n search tcl doc | wc -l' looks like some caching involved. -- Chris. ====== Don't forget to check that your /etc/apt/sources.lst entries point to etch and not testing, otherwise you may end up with a broken system once etch goes stable. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]