diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-10-17 15:32:53 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-10-17 15:33:21 +0200 |
commit | 751d4cb77c1c8e006236d029f247d2ed90904688 (patch) | |
tree | 31438e34735f4b64653194fba925e48619195eef | |
parent | 64a9fcf3039d8f4ac35a36e117319e0097c9012f (diff) | |
download | xtools-751d4cb77c1c8e006236d029f247d2ed90904688.tar.gz xtools-751d4cb77c1c8e006236d029f247d2ed90904688.tar.xz xtools-751d4cb77c1c8e006236d029f247d2ed90904688.zip |
xmindep: sort and uniqify output
Fixes #50.
-rwxr-xr-x | xmindep | 2 |
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 |