From 94325523c95372546b68b1c5c42e053a53ec778a Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-3VIS1T9\\junguler" Date: Wed, 7 Feb 2024 15:57:43 +0330 Subject: [PATCH] even better now --- stuff/check-for-dead.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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