mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2025-02-16 13:08:23 +00:00
Use correct quoting
Unquote the sed expression. Signed-off-by: Linus G Thiel <linus@yesbabyyes.se>
This commit is contained in:
parent
c2b96736bd
commit
0f5fa26f06
1 changed files with 1 additions and 1 deletions
|
@ -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. "]")
|
||||
|
|
Loading…
Add table
Reference in a new issue