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:
|
||
|---|---|---|
| .. | ||
| testdata | ||
| attr_string.go | ||
| buf.go | ||
| class_string.go | ||
| const.go | ||
| dwarf5ranges_test.go | ||
| entry.go | ||
| entry_test.go | ||
| export_test.go | ||
| line.go | ||
| line_test.go | ||
| open.go | ||
| tag_string.go | ||
| type.go | ||
| type_test.go | ||
| typeunit.go | ||
| unit.go | ||