blockcheck: avoid using \t in sed

This commit is contained in:
bol-van 2022-01-22 18:08:05 +03:00
parent 0484bc283e
commit e2b275c1b3

View File

@ -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()
{