Browse Source

grep - new one-liner

- signed-off-by: trimstray <trimstray@gmail.com>
pull/84/head
trimstray 5 years ago
parent
commit
48ac062592
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      README.md

+ 8
- 0
README.md View File

@@ -3079,6 +3079,14 @@ grep -v ^[[:space:]]*# 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)

##### Table of Contents


Loading…
Cancel
Save