Hallo Matthias, * Matthias Fechner <idefix@fechner.net> [16-01-02 07:40]: [Mit regex. nach Paketen suchen] Es gibt auch noch dpkg-awk: $ dpkg-awk "Package:.*dpkg-awk$" -- Description Description: Gawk script to parse /var/lib/dpkg/{status,available} and Packages This script can parse the dpkg database files. It can do regular expressions on the fields, and only get what you want. It can also be made to output certain fields. As an added bonus, there is an option to sort the output. . 'dpkg-awk "Status: .* installed$" -- Package Version Status' will output all installed packages, with only the listed fields. 'dpkg-awk -f=/var/lib/dpkg/available "Package:^[aA].*" -- Package Version' will output all available packages that start with the letter 'A.' Wobei das ziemlich langsam ist... Janto -- Suchanfragen mit mehr als 23 Treffern sind zu allgemein. - Wau Holland *20.12.1951 +29.07.2001
Attachment:
pgpLNBh7gQoC0.pgp
Description: PGP signature