Merge pull request #1687 from spacedingo/patch-2

Add ignore-case switch to sort (domains)
This commit is contained in:
DL6ER 2017-09-08 20:17:38 +02:00 committed by GitHub
commit ca88c59d4e

View file

@ -296,7 +296,7 @@ gravity_unique() {
local str="Removing duplicate domains"
echo -ne " ${INFO} ${str}..."
sort -u ${piholeDir}/${supernova} > ${piholeDir}/${preEventHorizon}
sort -u -f ${piholeDir}/${supernova} > ${piholeDir}/${preEventHorizon}
echo -e "${OVER} ${TICK} ${str}"
numberOf=$(wc -l < ${piholeDir}/${preEventHorizon})