cos
author Stiletto <blasux@blasux.ru>
Thu, 22 Sep 2011 13:27:23 +0400
changeset 9 ae87469781f2
parent 8 c9b4af5f3122
permissions -rwxr-xr-x
CUE extractor

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