cos
author Stiletto <blasux@blasux.ru>
Sat, 18 Jun 2011 16:12:00 +0400
changeset 8 c9b4af5f3122
child 9 ae87469781f2
permissions -rwxr-xr-x
cos hellper script

#!/bin/sh
COSPATH=$(dirname $(readlink -f $0))
#/home/archhome/stil/git/crockofshit
S="$1"
shift
case "$S" in
    "xmms")
        $COSPATH/cos-search $COSPATH/fuck "$@"|cut -f2|while read fname; do echo "$fname"; xmmsctrl +file "$fname"; done
        ;;
    *)
        $COSPATH/cos-"$S" $COSPATH/fuck "$@"
        ;;
esac