summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-10-17 15:32:53 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-10-17 15:33:21 +0200
commit751d4cb77c1c8e006236d029f247d2ed90904688 (patch)
tree31438e34735f4b64653194fba925e48619195eef
parent64a9fcf3039d8f4ac35a36e117319e0097c9012f (diff)
downloadxtools-751d4cb77c1c8e006236d029f247d2ed90904688.tar.gz
xtools-751d4cb77c1c8e006236d029f247d2ed90904688.tar.xz
xtools-751d4cb77c1c8e006236d029f247d2ed90904688.zip
xmindep: sort and uniqify output
Fixes #50.
-rwxr-xr-xxmindep2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmindep b/xmindep
index cada61e..e758b06 100755
--- a/xmindep
+++ b/xmindep
@@ -7,4 +7,4 @@ rdeps() {
 	done | xargs -d'\n' -rn1 xbps-uhelper getpkgname | sort -u
 }
 
-printf '%s\n' "$@" | grep -Fvx -e "$(rdeps "$@")" | fmt
+printf '%s\n' "$@" | grep -Fvx -e "$(rdeps "$@")" | sort -u | fmt