diff --git a/blockcheck.sh b/blockcheck.sh index 0226e89..88911fb 100755 --- a/blockcheck.sh +++ b/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() {