author | Stiletto <blasux@blasux.ru> |
Sat, 18 Jun 2011 16:12:00 +0400 | |
changeset 8 | c9b4af5f3122 |
child 9 | ae87469781f2 |
permissions | -rwxr-xr-x |
8 | 1 |
#!/bin/sh |
2 |
COSPATH=$(dirname $(readlink -f $0)) |
|
3 |
#/home/archhome/stil/git/crockofshit |
|
4 |
S="$1" |
|
5 |
shift |
|
6 |
case "$S" in |
|
7 |
"xmms") |
|
8 |
$COSPATH/cos-search $COSPATH/fuck "$@"|cut -f2|while read fname; do echo "$fname"; xmmsctrl +file "$fname"; done |
|
9 |
;; |
|
10 |
*) |
|
11 |
$COSPATH/cos-"$S" $COSPATH/fuck "$@" |
|
12 |
;; |
|
13 |
esac |