| 1 | Source: dpkg-awk |
| 2 | Section: devel |
| 3 | Priority: optional |
| 4 | Maintainer: Jeroen Schot <[email protected]> |
| 5 | Standards-Version: 4.7.2 |
| 6 | Build-Depends: debhelper-compat (= 13) |
| 7 | Vcs-Git: https://salsa.debian.org/debian/dpkg-awk.git |
| 8 | Vcs-Browser: https://salsa.debian.org/debian/dpkg-awk |
| 9 | Description: Gawk script to parse /var/lib/dpkg/{status,available} and Packages |
| 10 | This script can parse the dpkg database files. It can do regular |
| 11 | expressions on the fields, and only get what you want. It can also be |
| 12 | made to output certain fields. As an added bonus, there is an option |
| 13 | to sort the output. |
| 14 | . |
| 15 | 'dpkg-awk "Status: .* installed$" -- Package Version Status' will |
| 16 | output all installed packages, with only the listed fields. |
| 17 | 'dpkg-awk -f=/var/lib/dpkg/available "Package:^[aA].*" -- Package Version' |
| 18 | will output all available packages that start with the letter 'A.' |
| 19 | |
| 20 | Package: dpkg-awk |
| 21 | Architecture: all |
| 22 | Multi-Arch: foreign |
| 23 | Depends: ${misc:Depends} |
| 24 | Suggests: dctrl-tools |
| 25 | Description: ${source:Synopsis} |
| 26 | ${source:Extended-Description} |