mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2024-11-25 22:20:17 +00:00
commit
b1137da792
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…
Reference in a new issue