I have a script to block ip\'s listed in a file /etc/bad-guys, like this:
for i in `cat /etc/bad-guys|grep -v "#&q