grep - new one-liner
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
72b45043e6
commit
48ac062592
@ -3079,6 +3079,14 @@ grep -v ^[[:space:]]*# filename
|
|||||||
egrep -v '#|^$' filename
|
egrep -v '#|^$' filename
|
||||||
```
|
```
|
||||||
|
|
||||||
|
###### Show strings that begins with a dash/hyphen
|
||||||
|
|
||||||
|
```bash
|
||||||
|
grep -e -- filename
|
||||||
|
grep -- -- filename
|
||||||
|
grep "\-\-" filename
|
||||||
|
```
|
||||||
|
|
||||||
#### Shell functions [<sup>[TOC]</sup>](#anger-table-of-contents)
|
#### Shell functions [<sup>[TOC]</sup>](#anger-table-of-contents)
|
||||||
|
|
||||||
##### Table of Contents
|
##### Table of Contents
|
||||||
|
Loading…
Reference in New Issue
Block a user