All pastes #471191 Raw Edit

Mine

public text v1 · immutable
·published 2007-05-04 19:48 UTC
rendered paste body
#!/usr/bin/bash
mv $3 ${3}.bak
chmod ${3}.bak
sed -e "s/$1/$2/g" ${3}.bak > $3