kisslinux / kiss

KISS Linux - Package Manager
https://kisslinux.github.io
MIT License
464 stars 62 forks source link

kiss-revdepends: only print package names #300

Closed aabacchus closed 6 months ago

aabacchus commented 2 years ago

The only disadvantage to this is that the information about a dependency being make or not is lost, which could be reason enough not to merge this. Perhaps a patch to just print package names and optionally make at the end would be better, for example:

grep -E "^$1( |$)" -- */depends | sed "s@/depends:$1@@"

so that output looks like

$ kiss revd perl
autoconf
automake
cloc
firefox          make
groff
openssl make
valgrind
xdotool make