Merge pull request #620 from MatiasFernandez/patch-1

Fix typo in sed.md
This commit is contained in:
Fechin authored and GitHub committed 2024-12-16 09:36:35 +08:00
commit 9019cb1500
1 file changed
+1 -1
+1 -1
View File
@@ -159,7 +159,7 @@ Replace only the nth occurrence of a string
$ sed 's/old/new/2' file.txt
```
Replace replace a string only on the 5th line
Replace a string only on the 5th line
```shell script
$ sed '5 s/old/new/' file.txt