File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -78,9 +78,9 @@ Regular expression's back references can be activated with `--regex-backrefs` an
78
78
79
79
### Examples
80
80
81
- | Command | Description |
82
- | :-------------------------------------------------------------------| :-------------------------------------------------------------------------------------------------|
83
- | ` go-replace -s foobar -r barfoo file1 file2 ` | Replaces ` foobar ` to ` barfoo ` in file1 and file2 |
81
+ | Command | Description |
82
+ | :-------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------|
83
+ | ` go-replace -s foobar -r barfoo file1 file2 ` | Replaces ` foobar ` to ` barfoo ` in file1 and file2 |
84
84
| ` go-replace --regex -s 'foo.*' -r barfoo file1 file2 ` | Replaces the regex ` foo.* ` to ` barfoo ` in file1 and file2 |
85
85
| ` go-replace --regex --ignore-case -s 'foo.*' -r barfoo file1 file2 ` | Replaces the regex ` foo.* ` (and ignore case) to ` barfoo ` in file1 and file2 |
86
86
| ` go-replace --mode=line -s 'foobar' -r barfoo file1 file2 ` | Replaces all lines with content ` foobar ` to ` barfoo ` (whole line) in file1 and file2 |
@@ -107,7 +107,7 @@ export DOCUMENTROOT=/var/www/foobar.example/
107
107
go-replace --mode=template daemon.conf.tmpl:daemon.conf
108
108
```
109
109
110
- Reuslt file ` daemon.conf ` :
110
+ Result file ` daemon.conf ` :
111
111
```
112
112
<VirtualHost ...>
113
113
ServerName www.foobar.example
You can’t perform that action at this time.
0 commit comments