mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-06 20:13:11 +02:00
spelling: suppressing
This commit is contained in:
parent
1f8082f31d
commit
b48100bb3c
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ awk '{sub(/\r$/,"");print $1,$2}' "$TEMP"|sort -u > "$TEMP_SORTED"
|
||||||
#Filter (if applicable)
|
#Filter (if applicable)
|
||||||
if [ -s "/var/lib/dnsmasq/white.list" ]
|
if [ -s "/var/lib/dnsmasq/white.list" ]
|
||||||
then
|
then
|
||||||
#Filter the blacklist, supressing whitelist matches
|
#Filter the blacklist, suppressing whitelist matches
|
||||||
# This is relatively slow =-(
|
# This is relatively slow =-(
|
||||||
echo 'Filtering white list...'
|
echo 'Filtering white list...'
|
||||||
egrep -v "^[[:space:]]*$" /var/lib/dnsmasq/white.list | awk '/^[^#]/ {sub(/\r$/,"");print $1}' | grep -vf - "$TEMP_SORTED" > /var/lib/dnsmasq/block.hosts
|
egrep -v "^[[:space:]]*$" /var/lib/dnsmasq/white.list | awk '/^[^#]/ {sub(/\r$/,"");print $1}' | grep -vf - "$TEMP_SORTED" > /var/lib/dnsmasq/block.hosts
|
||||||
|
|
Loading…
Add table
Reference in a new issue