added snippet to ignore comments in .diff files as well

This commit is contained in:
Kip Macsai-Goren 2022-02-27 23:29:46 +00:00
parent 6ed010adda
commit 7be3cef076

View File

@ -36,7 +36,8 @@ do
else else
echo -e "\e[31m ... FAIL \e[39m" echo -e "\e[31m ... FAIL \e[39m"
FAIL=$((${FAIL} + 1)) FAIL=$((${FAIL} + 1))
sdiff <(grep -o '^[^#]*' ${ref}) ${sig} > ${dif} # KMG: changed sdiff similar to above
sdiff --ignore-case --ignore-trailing-space --strip-trailing-cr <(grep -o '^[^#]*' ${ref}) ${sig} > ${dif}
fi fi
done done