Browse Source

blockcheck: fix regexp

pull/81/head
bol-van 3 years ago
parent
commit
2f6dd90b92
  1. 2
      blockcheck.sh

2
blockcheck.sh

@ -139,7 +139,7 @@ hdrfile_location()
# $1 - hdr file
# some DPIs return CRLF line ending
tr -d '\015' <"$1" | sed -nre 's/^[L|l][O|o][C|c][A|a][T|t][I|i][O|o][N|n]:[ \t]*([^ \t]*)[ \t]*$/\1/p'
tr -d '\015' <"$1" | sed -nre 's/^[Ll][Oo][Cc][Aa][Tt][Ii][Oo][Nn]:[ \t]*([^ \t]*)[ \t]*$/\1/p'
}
curl_test_http()
{

Loading…
Cancel
Save