This is a modified version of the Debian
adding shell-style glob wildcards to most of the operations.
dlocate 1.0 has regexps, but for file related things shell
wildcards are much better.
(This code is almost certainly suffering some bit-rot, so use with caution, and
dpkg is no longer as slow as it once was, so the whole should be
no longer necessary.)
dloc.txt(6k, and sig)
dloc.cron.daily.txt(2k, by Craig Sanders)
The sig is a Gnu PG ascii armoured signature generated from my key.
dloc.cron.daily is a copy of
dlocate 0.5. Put it in your
create and freshen the database.
(Of course none of this would be needed at all if
dpkg wasn't so
horrendously slow ... a case study in why a text file is not a database.)
This is spot of code for bash
to get "tab" completion for
Package names for
-L etc are completed, and the various options
themselves. It can be used standalone, or together with the
dlocate.bash(3k, and sig)
This page Copyright 2007, 2008, 2009, 2013, 2014, 2015, 2016, 2020, 2022 Kevin Ryde, except for the GPLv3 logo which is Copyright Free Software Foundation and used here in accordance with its terms.
(Back to the sitemap.)