Created
October 20, 2016 18:20
-
-
Save hxmuller/dc02772cdf451440e8b6403e95c00fe1 to your computer and use it in GitHub Desktop.
print Debian package summary for each package listed in file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat - concatenate files and print on the standard output | |
# xargs - build and execute command lines from standard inpout | |
# dpkg-query - a tool to query the dpkg database | |
# -W list packages matching given pattern, output can be customized | |
# -f specifies the format of the output of -W | |
cat filename | xargs dpkg-query -W -f='${binary:Package}\n\t${binary:Summary}\n' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment