Merge pull request #24 from linus/patch-2

Use correct quoting
This commit is contained in:
Bonnie I-Man Ng 2022-05-08 01:04:52 +08:00 committed by GitHub
commit b1137da792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) ##### Add string at certain line number (e.g. add 'something' to line 1 and line 3)
```bash ```bash
sed -e '1isomething -e '3isomething' sed -e '1isomething' -e '3isomething'
``` ```
##### Add string to end of file (e.g. "]") ##### Add string to end of file (e.g. "]")