diff --git a/README.md b/README.md index 4d79ddb..d85b5a9 100644 --- a/README.md +++ b/README.md @@ -368,12 +368,12 @@ sed 's=/=\\/=g' sed 's/A-.*-e//g' filename ``` ##### Remove last character of file -```bash`` +```bash sed '$ s/.$//' ``` ##### Insert character at specified position of file (e.g. AAAAAA --> AAA#AAA) -```bash`` +```bash sed -r -e 's/^.{3}/&#/' file ```