From 0f5fa26f06bbe7667400e084f5fd060f32736bac Mon Sep 17 00:00:00 2001 From: Linus G Thiel Date: Tue, 3 May 2022 21:56:01 +0200 Subject: [PATCH] Use correct quoting Unquote the sed expression. Signed-off-by: Linus G Thiel --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 47fc319..02bc09c 100644 --- a/README.md +++ b/README.md @@ -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. "]")