More tabs to spaces.

This commit is contained in:
Adam Warner 2016-11-01 10:16:08 +00:00
parent d64e86288c
commit 61140348fe
5 changed files with 298 additions and 297 deletions

View file

@ -26,7 +26,6 @@ listMain=""
listAlt="" listAlt=""
helpFunc() { helpFunc() {
if [[ ${listMain} == ${whitelist} ]]; then if [[ ${listMain} == ${whitelist} ]]; then
letter="w" letter="w"
word="white" word="white"
@ -103,6 +102,7 @@ RemoveDomain() {
list="$2" list="$2"
bool=true bool=true
#Is it in the other list? Logic follows that if its whitelisted it should not be blacklisted and vice versa #Is it in the other list? Logic follows that if its whitelisted it should not be blacklisted and vice versa
grep -Ex -q "$1" ${list} > /dev/null 2>&1 || bool=false grep -Ex -q "$1" ${list} > /dev/null 2>&1 || bool=false
if [[ "${bool}" == true ]]; then if [[ "${bool}" == true ]]; then
@ -128,6 +128,7 @@ Displaylist() {
else else
string="domains caught in the sinkhole" string="domains caught in the sinkhole"
fi fi
verbose=false verbose=false
echo -e " Displaying $string \n" echo -e " Displaying $string \n"
count=1 count=1