Pārlūkot izejas kodu

added new 'grep' one-liners

- signed-off-by: trimstray <trimstray@gmail.com>
pull/78/head
trimstray pirms 3 gadiem
vecāks
revīzija
cf1bd00f65
1 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. +10
    -0
      README.md

+ 10
- 0
README.md Parādīt failu

@@ -2899,6 +2899,16 @@ fgrep "pattern" * -R
grep . filename > newfilename
```

###### Show only for multiple patterns

```bash
grep 'INFO*'\''WARN' filename
grep 'INFO\|WARN' filename
grep -e INFO -e WARN filename
grep -E '(INFO|WARN)' filename
egrep "INFO|WARN" filename
```

###### Except multiple patterns

```bash


Notiek ielāde…
Atcelt
Saglabāt