diff options
| author | Paul Buetow (pluto.buetow.org) <paul@buetow.org> | 2013-09-07 15:25:30 +0200 |
|---|---|---|
| committer | Paul Buetow (pluto.buetow.org) <paul@buetow.org> | 2013-09-07 15:25:30 +0200 |
| commit | f7e49d8f7e7d4b68e44fe8b29baa57921893bf96 (patch) | |
| tree | 7b0c837edcbcd56dc1a8dbb93c04c6fdb1e7f9d0 | |
| parent | 000ef5277dbb4cd12959d59530cdc1fd1182d959 (diff) | |
enhance replace.sh
| -rwxr-xr-x | scripts/replace.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/replace.sh b/scripts/replace.sh index c6f9d4c..3520624 100755 --- a/scripts/replace.sh +++ b/scripts/replace.sh @@ -1,6 +1,3 @@ #!/bin/sh -sed "s/$2/$3/g" $1 > temp -mv -f temp $1 - - +exec sed -i "s/$2/$3/g" $1 |
