Create README.md

This commit is contained in:
onceupon 2017-06-09 16:21:06 +08:00 committed by GitHub
parent e664f45ef9
commit d858cf7c88

View File

@ -32,13 +32,13 @@ http://onceupon.github.io/Bash-Oneliner/
grep -o -P '(?<=w1).*(?=w2)'
```
##### grep lines without word (e.g. bbo)
##### Grep lines without word (e.g. bbo)
```bash
grep -v bbo filename
```
##### grep only one/first match (e.g. bbo)
##### Grep only one/first match (e.g. bbo)
```bash
grep -m 1 bbo filename