cos
changeset 9 ae87469781f2
parent 8 c9b4af5f3122
equal deleted inserted replaced
8:c9b4af5f3122 9:ae87469781f2
     2 COSPATH=$(dirname $(readlink -f $0))
     2 COSPATH=$(dirname $(readlink -f $0))
     3 #/home/archhome/stil/git/crockofshit
     3 #/home/archhome/stil/git/crockofshit
     4 S="$1"
     4 S="$1"
     5 shift
     5 shift
     6 case "$S" in
     6 case "$S" in
       
     7     "")
       
     8         echo "Usage: $0 <command> [parameters]"
       
     9         ;;
     7     "xmms")
    10     "xmms")
     8         $COSPATH/cos-search $COSPATH/fuck "$@"|cut -f2|while read fname; do echo "$fname"; xmmsctrl +file "$fname"; done
    11         $COSPATH/cos-search $COSPATH/fuck "$@"|cut -f2|while read fname; do echo "$fname"; xmmsctrl +file "$fname"; done
     9         ;;
    12         ;;
    10     *)
    13     *)
    11         $COSPATH/cos-"$S" $COSPATH/fuck "$@"
    14         $COSPATH/cos-"$S" $COSPATH/fuck "$@"