Created
September 4, 2014 11:52
-
-
Save Sp1l/ede14d6c3519d92c2ff2 to your computer and use it in GitHub Desktop.
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
pkg query -g '%n-%v %dn-%dv' '*' | \ | |
while read pkg dep ; do | |
[ "$pkg" != "$prev" ] && echo $pkg | |
echo "> $dep" | |
prev=$pkg | |
done > ${pkg_logs}/${datestamp}.pkg_tree |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment