kiss/contrib/kiss-stray
Ethan c24a7dc78d kiss-stray: new utility to list 'stray' files
Lists files that have no owner - its addition is due to changes in
'kiss-preferred'
2022-08-19 11:02:28 -05:00

8 lines
216 B
Bash
Executable File

#!/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'"