Created
February 7, 2020 12:37
-
-
Save alecs/897b53b19880ec43f2a8bc6b8e8a0fb2 to your computer and use it in GitHub Desktop.
dpkg --get-selections for alpine
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
apk list -I -v | awk 'BEGIN {i=0}; { word=substr($3,2,index($3,"}")-2); if (word != "") { packs[i]=word; let i++ } }; END { for (id in packs) { printf packs[id]" " } }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment