diff options
| author | Paul Buetow <paul@buetow.org> | 2011-03-06 10:57:41 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2011-03-06 10:57:41 +0000 |
| commit | 213033db33be271791f2d9ff1c9c44c0bed79f18 (patch) | |
| tree | 1b3ff0d0eddfc7f6995afa67b5d3fc2ef8fa85a7 /scripts/stats/replace.sh | |
initial xerl import to utils
Diffstat (limited to 'scripts/stats/replace.sh')
| -rwxr-xr-x | scripts/stats/replace.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/stats/replace.sh b/scripts/stats/replace.sh new file mode 100755 index 0000000..1624364 --- /dev/null +++ b/scripts/stats/replace.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +from="vs.buetow.org" +to="vs-sim.buetow.org" + +for log in *.log +do + sed "s/$from/$to/" $log > $log.new + mv -f $log.new $log +done + |
