#!/bin/sh OLD='\[ Nico at Schottelius dot org \]' NEM='\[ info: use finger @schottelius.org ]' if [ ! -d "$1" ]; then cat "$1" | sed "s/$OLD/$NEW/g" #> $1.tmp #mv $1.tmp $1 fi