diff --git a/stuff/check-for-dead.sh b/stuff/check-for-dead.sh index 60ad99bfb..4dcf5bfa3 100755 --- a/stuff/check-for-dead.sh +++ b/stuff/check-for-dead.sh @@ -10,7 +10,7 @@ for i in *.m3u ; do for j in $(cat $i) ; do wget -S --spider -q -t 1 -T 1 --max- for i in A-*.m3u ; do cat $i | grep -B1 "200 " | sed 's/200 //g' | awk 'length>3' | grep -A1 "#" > A$i ; done # convert underlines in stream titles back to spaces -for i in *.m3u ; do sed -i '/#/s/_/ /' $i ; done +for i in *.m3u ; do sed -i '/#/s/_/ /g' $i ; done # remove extra fluff from file names #for i in AA-*.m3u ; do mv $i $(echo $i | sed 's/AA-//') ; done