mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-23 08:46:36 +00:00
Create README.md
This commit is contained in:
parent
e664f45ef9
commit
d858cf7c88
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user