aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-which
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kiss-which')
-rwxr-xr-xcontrib/kiss-which6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/kiss-which b/contrib/kiss-which
new file mode 100755
index 0000000..2df6f08
--- /dev/null
+++ b/contrib/kiss-which
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+[ "$1" ] || { printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} [pkg]" ; exit 1 ;}
+
+{ kiss s "$1" || exit 1 ;} |
+ sed 1q