grep - new one-liner

- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
trimstray 2019-04-09 08:41:56 +02:00
parent 72b45043e6
commit 48ac062592

View File

@ -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 &nbsp;[<sup>[TOC]</sup>](#anger-table-of-contents) #### Shell functions &nbsp;[<sup>[TOC]</sup>](#anger-table-of-contents)
##### Table of Contents ##### Table of Contents