diff --git a/contrib/kiss-stray b/contrib/kiss-stray new file mode 100755 index 0000000..a3850e9 --- /dev/null +++ b/contrib/kiss-stray @@ -0,0 +1,7 @@ +#!/bin/sh +# Return a list of files that have no package owner. + +kiss alternatives \ + | cut -d' ' -f2 \ + | xargs -I{} -P0 \ + sh -c "owner=\$(kiss owns {}); [ \$owner ] || printf 'warning: {} has no owner\n'"