From 6af9c52d8e6a8d88164d4f65e9cba883db06d4ee Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 2 Jul 2026 22:18:40 +0800 Subject: [PATCH 1/3] Correct the incorrect web links --- docs/books/sed_awk_grep/2_grep_command.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/books/sed_awk_grep/2_grep_command.md b/docs/books/sed_awk_grep/2_grep_command.md index 66098f2797..f3c075aff0 100644 --- a/docs/books/sed_awk_grep/2_grep_command.md +++ b/docs/books/sed_awk_grep/2_grep_command.md @@ -8,7 +8,7 @@ tags: # `grep` command -The `grep` command filters the content of single or multiple files. Some variants of this command tool exist, such as `egrep (grep -E)` and `fgrep (grep -f)`. For information not covered, see [the `grep` manual](https://www.gnu.org/software/grep/manual/ "grep manual"). +The `grep` command filters the content of single or multiple files. Some variants of this command tool exist, such as `egrep (grep -E)` and `fgrep (grep -f)`. For information not covered, see [the grep manual page(s)](https://www.gnu.org/software/grep/manual/). The usage of the `grep` command is: From da7a140e46d19a2b4db03b2a0d7ff5d971f7c5ca Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 2 Jul 2026 22:23:51 +0800 Subject: [PATCH 2/3] update --- docs/books/sed_awk_grep/2_grep_command.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/books/sed_awk_grep/2_grep_command.md b/docs/books/sed_awk_grep/2_grep_command.md index f3c075aff0..c61a3de570 100644 --- a/docs/books/sed_awk_grep/2_grep_command.md +++ b/docs/books/sed_awk_grep/2_grep_command.md @@ -25,7 +25,7 @@ The options are mainly divided into four parts: * content line control * directory or file control -match control: +match control: | options | description | |------------------------|---------------------------------------------------------| From a13daac0cd8b43f88a273c3ad1d53b6e91c41767 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 2 Jul 2026 23:07:17 +0800 Subject: [PATCH 3/3] update01 --- docs/books/sed_awk_grep/2_grep_command.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/books/sed_awk_grep/2_grep_command.md b/docs/books/sed_awk_grep/2_grep_command.md index c61a3de570..86c7c63d5c 100644 --- a/docs/books/sed_awk_grep/2_grep_command.md +++ b/docs/books/sed_awk_grep/2_grep_command.md @@ -66,9 +66,9 @@ directory or file control: | options | description | | :--- | :--- | | --include=FILE_PATTERN | Searches only files that match FILE_PATTERN. Wildcard characters for file names support *, ?, [], [^], [-], {..}, {,} | -| --exclude=FILE_PATTERN | Skips files and directories matching FILE_PATTERN. Wildcard characters for file names support *, ?, [], [^], [-], {..}, {,} | +| --exclude=FILE_PATTERN | Skips files matching FILE_PATTERN. Wildcard characters for file names support *, ?, [], [^], [-], {..}, {,} | | --exclude-dir=PATTERN | Excludes the specified directory name. Directory name support *, ?, [], [^], [-], {..}, {,} | -| --exclude-from=FILE | Excludes the specified directory from the file content. | +| --exclude-from=FILE | Excludes the specified file from the file content | ## Examples of usage