mirror of https://github.com/golang/go.git
```
find . \
-not -path './.git/*' \
-not -path './test/*' \
-not -path './src/cmd/vendor/*' \
-not -wholename './src/strings/example_test.go' \
-type f \
-exec \
sed -i -E 's/strings\.Replace\((.+), -1\)/strings\.ReplaceAll\(\1\)/g' {} \;
```
Change-Id: I59e2e91b3654c41a32f17dd91ec56f250198f0d6
GitHub-Last-Rev:
|
||
|---|---|---|
| .. | ||
| buildinfo | ||
| dwarf | ||
| elf | ||
| gosym | ||
| macho | ||
| pe | ||
| plan9obj | ||