#!/bin/sh # ~/bin/.sh/nospam by jhs # To make web pages less useful for spammers who gather addresses # with web crawlers. # called by ~/bin/.sh/nospamweb # PS browse http://www.euro.cauce.org/en/ echo Doing $1 sed s/@/@_ERASE_/g < $1 | sed s/@_ERASE__ERASE_/@_ERASE_/g \ > $HOME/tmp/nospam.$$ cat $HOME/tmp/nospam.$$ > $1 # cat rather than mv, to preserve hard link, perms etc. rm $HOME/tmp/nospam.$$