(fixed locking echo, removed excessive cut to make script a bit faster
and shortened grep) and changed copy mark from "x" to "" in order to use
-z and -n tests.
patch by GoTaR <priv0.onet.pl->gotar>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8539 b3059339-0415-0410-9bf9-f77b7e298cf2