# HG changeset patch # User Stiletto # Date 1308399120 -14400 # Node ID c9b4af5f31222e3401612b060d4e0a4231dd9a0d # Parent 1928f1a1ee5bc5c6396cd359c783062b2b2e9ca9 cos hellper script diff -r 1928f1a1ee5b -r c9b4af5f3122 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