aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-05-01 18:02:18 +0000
committermerakor <cem@ckyln.com>2020-05-01 18:02:18 +0000
commit6e87c577bfbca7f4b03628c1ea45a123a41d7b27 (patch)
tree222875acec5c0d3afccc18cbceb3414000dbacba
parent404163fc2d4b59ce544fecd6b77999510150e65d (diff)
downloadcpt-6e87c577bfbca7f4b03628c1ea45a123a41d7b27.tar.gz
contrib: add kiss-which
FossilOrigin-Name: 068c7b58414be21ef54b2876384af2264eb47cd94297a2c24752a70eff659711
-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