浏览代码

added new 'grep' one-liners

- signed-off-by: trimstray <trimstray@gmail.com>
pull/78/head
trimstray 3 年前
父节点
当前提交
cf1bd00f65
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. +10
    -0
      README.md

+ 10
- 0
README.md 查看文件

@@ -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


正在加载...
取消
保存