Stickler fix

Signed-off-by: MMotti <matthew.w.motti@gmail.com>
This commit is contained in:
MMotti 2019-06-03 19:55:29 +01:00
parent 54bfaa28c1
commit 97df6d7415

View file

@ -137,7 +137,7 @@ if [[ -e "${regexlist}" ]]; then
if [[ -n "${results[*]}" ]]; then
# A result is found
str="Phrase ${matchType}ed within ${COL_BOLD}regex list${COL_NC}"
result="${COL_BOLD}$(printf '%s\n' ${results[*]})${COL_NC}"
result="${COL_BOLD}$(IFS=$'\n'; echo "${results[*]}")${COL_NC}"
if [[ -z "${blockpage}" ]]; then
wcMatch=true