All pastes #471258 Raw Edit

Untitled

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