#!/bin/sh echo "files to convert: " read var for i in `echo $var` do sed 's/\~nhilton/\~wblake/' $i >$i.$$ rm $i mv $i.$$ $i done