Some coloring.

This commit is contained in:
offa
2017-05-16 19:33:51 +02:00
parent d6c1fae2ef
commit 85e4199929
+2 -2
View File
@@ -19,9 +19,9 @@ while IFS=';' read -ra TOK; do
if [[ "${i}" =~ ^fdid=([[:alnum:]]|[\._-])+$ ]]; if [[ "${i}" =~ ^fdid=([[:alnum:]]|[\._-])+$ ]];
then then
echo "OK" echo -e "\e[0;32mOK\e[0m"
else else
echo "INVALID" echo -e "\e[0;31mINVALID\e[0m"
let "FAILED += 1" let "FAILED += 1"
fi fi