Update README.md

This commit is contained in:
onceupon 2018-03-07 11:16:18 +08:00 committed by GitHub
parent 35e7587b05
commit ffc0c45075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,13 +176,12 @@ http://www.cyberciti.biz/faq/grep-regular-expressions/
sed 1d filename sed 1d filename
``` ```
##### Remove the 100 lines (remove line 1-100) ##### Remove the first 100 lines (remove line 1-100)
```bash ```bash
sed 1,100d filename sed 1,100d filename
``` ```
##### ##### Remove lines with string (e.g. bbo)
remove lines with string (e.g. bbo)
```bash ```bash
sed "/bbo/d" filename sed "/bbo/d" filename