Partial revert of previous change

Daniel Wright
2023-02-27 12:08:39 +10:00
parent 4e8b9f19c7
commit 969056e5c1

@@ -3,13 +3,13 @@
### Problematic code: ### Problematic code:
```sh ```sh
string="string" ; echo "$string" | sed -e "s/ir/ri/" string="stirng" ; echo "$string" | sed -e "s/ir/ri/"
``` ```
### Correct code: ### Correct code:
```sh ```sh
string="string" ; echo "${string//ir/ri}" string="stirng" ; echo "${string//ir/ri}"
``` ```
### Rationale: ### Rationale: