mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2024-11-30 00:10:34 +00:00
add grep
grep string starting with a string
This commit is contained in:
parent
ac371598b8
commit
6a1ec40741
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,11 @@ http://onceupon.github.io/Bash-Oneliner/
|
|||
|
||||
|
||||
## Grep
|
||||
##### Grep string starting with (e.g. 'S')
|
||||
```bash
|
||||
grep -o 'S.*'
|
||||
```
|
||||
|
||||
##### Extract text bewteen words (e.g. w1,w2)
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in a new issue