#!/bin/sh OMIT_STRINGS="slashdot|about.com|cnet" if [ ! -f /etc/hosts.local ] ; then cp /etc/hosts /etc/hosts.local fi wget -O /etc/hosts.mega http://remember.mine.nu/hosts dos2unix /etc/hosts.mega cp -f /etc/hosts.local /etc/hosts echo "" >> /etc/hosts grep -v "$OMIT_STRINGS" /etc/hosts.mega >> /etc/hosts