cos hellper script
authorStiletto <blasux@blasux.ru>
Sat, 18 Jun 2011 16:12:00 +0400
changeset 8 c9b4af5f3122
parent 7 1928f1a1ee5b
child 9 ae87469781f2
cos hellper script
cos
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cos	Sat Jun 18 16:12:00 2011 +0400
@@ -0,0 +1,13 @@
+#!/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
\ No newline at end of file