Use correct quoting

Unquote the sed expression.

Signed-off-by: Linus G Thiel <linus@yesbabyyes.se>
This commit is contained in:
Linus G Thiel 2022-05-03 21:56:01 +02:00 committed by Linus Thiel
parent c2b96736bd
commit 0f5fa26f06

View File

@ -511,7 +511,7 @@ sed -i '1s/^/[/' file
##### Add string at certain line number (e.g. add 'something' to line 1 and line 3)
```bash
sed -e '1isomething -e '3isomething'
sed -e '1isomething' -e '3isomething'
```
##### Add string to end of file (e.g. "]")