Hi Hartmut, et al On +2020-08-15 14:47:12 +0200, Hartmut Goebel wrote: > Am 13.08.20 um 12:04 schrieb Pierre Neidhardt: > > SQLite pattern search queries are extremely fast (<0.1s) and cover all > > examples named so far: > > > > - exact basename match > > - partial path match > > - pattern match (e.g. "/include/%foo%") > > > For comparison: These are the options Debian Package search > <https://www.debian.org/distrib/packages.en#search_packages> supports: > > * paths ending with the keyword -> e.g. file-extensions > * packages that contain files named like this -> basename > * packages that contain files whose names contain the keyword -> > LIKE %<keyword>% >
If you are on debian, have you tried dpkg -l '*your*globbed*name*here*' or dpkg -l '*'|egrep your-regex-here or the former, preserving header and excluding non-installed, e.g.,? dpkg -l '*your*globbed*name*here*'|grep -v ^un > -- > Regards > Hartmut Goebel > > | Hartmut Goebel | h.goe...@crazy-compilers.com | > | www.crazy-compilers.com | compilers which you thought are impossible | > > -- Regards, Bengt Richter