conf=${1}.conf out=`cat stdin | grep "./sc_trans_linux $conf" | grep -v "grep" | wc -l` out2=`ls *.mp3 | wc -l ` out3=`wc -l ${1}.lst` if [ $out -lt 1 ] then if [ $out2 -gt $out3 ] then GERAR NOVA LIST KILLAR ./sc_trans_linux $conf 2> /dev/null& fi ./sc_serv $1.conf 2> /dev/null& else ./sc_trans_linux $conf 2> /dev/null& fi