mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
blockcheck: avoid using \t in sed
This commit is contained in:
parent
0484bc283e
commit
e2b275c1b3
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user