From 645d9de61d29a7cfd08bdf6364ca9aaf059416dc Mon Sep 17 00:00:00 2001 From: zuixin369 <54224677+zuixin369@users.noreply.github.com> Date: Thu, 28 Apr 2022 15:37:07 +0800 Subject: [PATCH] doc: update grep.md example. (#361) --- command/grep.md | 1 + 1 file changed, 1 insertion(+) diff --git a/command/grep.md b/command/grep.md index 860c1c9e0b..f16b017da3 100644 --- a/command/grep.md +++ b/command/grep.md @@ -171,6 +171,7 @@ echo "hello world" | grep -i "HELLO" ```shell echo this is a text line | grep -e "is" -e "line" -o is +is line #也可以使用 **-f** 选项来匹配多个样式,在样式文件中逐行写出需要匹配的字符。