aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-which
blob: 2df6f082e7dedd90fb4e02dc5209706d560ca9ce (plain)
1
2
3
4
5
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