summaryrefslogtreecommitdiff
path: root/scripts/replace.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2011-03-06 10:57:41 +0000
committerPaul Buetow <paul@buetow.org>2011-03-06 10:57:41 +0000
commit213033db33be271791f2d9ff1c9c44c0bed79f18 (patch)
tree1b3ff0d0eddfc7f6995afa67b5d3fc2ef8fa85a7 /scripts/replace.sh
initial xerl import to utils
Diffstat (limited to 'scripts/replace.sh')
-rwxr-xr-xscripts/replace.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/replace.sh b/scripts/replace.sh
new file mode 100755
index 0000000..c6f9d4c
--- /dev/null
+++ b/scripts/replace.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+sed "s/$2/$3/g" $1 > temp
+mv -f temp $1
+
+