From b93ab57c63e45ecba76f9f36bcab10814292a3c6 Mon Sep 17 00:00:00 2001 From: Anthony Axenov Date: Wed, 1 Jun 2022 13:09:40 +0800 Subject: [PATCH] Fixed EXTINF regex --- check-pls.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-pls.sh b/check-pls.sh index e42b52c..811eee6 100755 --- a/check-pls.sh +++ b/check-pls.sh @@ -42,7 +42,7 @@ awk ' } { sub("\r$", "", $0) # crlf -> lf - if ($0 ~ /^#EXTINF\:.+,/) { + if ($0 ~ /^#EXTINF:.+,/) { total_count++ channel_name = substr($0, index($0, ",") + 1, length($0)) print "[" total_count "] " channel_name "..."