by colonelxc · 14y ago · 0 comments
# Read from the array, and remove files from /etc/hosts
for site in $*; do
sed -i '' "/127.0.0.1 $host/d" $hosts
done
it should be $site instead of $host (the latter is never referenced elsewhere in the file)Now I need to figure out why it seemed to work in the first place.