Open supersophie opened 6 years ago
Hi,
On line 49, save yourself two processes. Use this instead. You don't need the cat and grep. We can do this with just awk, e.g
awk '!/^;/{print $1}' $FILE
Ciao,Sophie
Final line equals:
# iterate through all known spamming hosts for IP in $( awk '!/^;/{print $1}' ); do
Hi,
On line 49, save yourself two processes. Use this instead. You don't need the cat and grep. We can do this with just awk, e.g
awk '!/^;/{print $1}' $FILE
Ciao,Sophie