From e2b275c1b3e83a71675120ea4d6137f3fce498d2 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 22 Jan 2022 18:08:05 +0300 Subject: [PATCH] blockcheck: avoid using \t in sed --- blockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockcheck.sh b/blockcheck.sh index 52f6db6..7de9227 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -285,7 +285,7 @@ hdrfile_location() # $1 - hdr file # some DPIs return CRLF line ending - tr -d '\015' <"$1" | sed -nre 's/^[Ll][Oo][Cc][Aa][Tt][Ii][Oo][Nn]:[ \t]*([^ \t]*)[ \t]*$/\1/p' + tr -d '\015' <"$1" | sed -nre 's/^[Ll][Oo][Cc][Aa][Tt][Ii][Oo][Nn]:[ ]*([^ ]*)[ ]*$/\1/p' } curl_test_http() {