Actually the wording which leads in to the example would need to be
changed too. Please find inline an ad-hoc updated patch.
Internally this uses egrep on a file containing the reformatted
-output of ‘dpkg -l’ (four fields separated by one
space-character:
-status, package-name, installed version, description) so it
-will return packages whose tag-line matches, too.
+output of 'dpkg -l' (four fields separated by tabs;
+status, package-name, installed version, short description) so it
+will return packages whose version or short description matches, too.
Extended regular expression are allowed. For example,
-dlocate -l ’^.. libc5’
+ht=`echo -e '\011'` # codify horizontal tab
+dlocate -l "^..${ht}libc5"
will list all the package names starting with ‘libc5’.
(Sorry for not downloading the latest sources and creating a proper
patch.)
/* era */
--
If this were a real .signature, it would suck less. Well, maybe not.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]