From 00f98543ad6835527fd170d535fe6d295bdae69a Mon Sep 17 00:00:00 2001 From: mrmajik45 <35823544+mrmajik45@users.noreply.github.com> Date: Wed, 26 Sep 2018 10:32:22 -0400 Subject: [PATCH] read without -r will mangle backslashes. --- advanced/Scripts/piholeDebug.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Scripts/piholeDebug.sh b/advanced/Scripts/piholeDebug.sh index b8377f73..4ef0e935 100755 --- a/advanced/Scripts/piholeDebug.sh +++ b/advanced/Scripts/piholeDebug.sh @@ -907,7 +907,7 @@ parse_file() { #shellcheck disable=SC2016 IFS=$'\r\n' command eval 'file_info=( $(cat "${filename}") )' else - read -a file_info <<< $filename + read -a -r file_info <<< $filename fi # Set a named variable for better readability local file_lines