From f68607f78593ad249c83050a011a3a640fa8b4b9 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 11 Dec 2025 03:20:40 +0200 Subject: [PATCH 01/13] Update rgrep.md --- pages/common/rgrep.md | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/pages/common/rgrep.md b/pages/common/rgrep.md index 2e6560e31be408..c5706aa5f9ca30 100644 --- a/pages/common/rgrep.md +++ b/pages/common/rgrep.md @@ -1,25 +1,7 @@ # rgrep -> Recursively find patterns in files using `regex`. -> Equivalent to `grep -r`. -> More information: . +> This command is an alias of `grep --recursive`. -- Recursively search for a pattern in the current working directory: +- View documentation for the original command: -`rgrep "{{search_pattern}}"` - -- Recursively search for a case-insensitive pattern in the current working directory: - -`rgrep {{[-i|--ignore-case]}} "{{search_pattern}}"` - -- Recursively search for an extended `regex` pattern (supports `?`, `+`, `{}`, `()` and `|`) in the current working directory: - -`rgrep {{[-E|--extended-regexp]}} "{{search_pattern}}"` - -- Recursively search for an exact string (disables `regex`) in the current working directory: - -`rgrep {{[-F|--fixed-strings]}} "{{exact_string}}"` - -- Recursively search for a pattern in a specified directory (or file): - -`rgrep "{{search_pattern}}" {{path/to/file_or_directory}}` +`tldr grep` From 4e81359289e5c9a5c3dc13feeffb739f8777cadc Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 11 Dec 2025 03:24:15 +0200 Subject: [PATCH 02/13] Update fgrep.md --- pages/common/fgrep.md | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/pages/common/fgrep.md b/pages/common/fgrep.md index baaff9b7f4b1f3..889c396d5b6326 100644 --- a/pages/common/fgrep.md +++ b/pages/common/fgrep.md @@ -1,29 +1,7 @@ # fgrep -> Matches fixed strings in files. -> Equivalent to `grep -F`. -> More information: . +> This command is an alias of `grep -F`. -- Search for an exact string in a file: +- View documentation for the original command: -`fgrep {{search_string}} {{path/to/file}}` - -- Search only lines that match entirely in one or more files: - -`fgrep {{[-x|--line-regexp]}} {{search_string}} {{path/to/file1 path/to/file2 ...}}` - -- Count the number of lines that match the given string in a file: - -`fgrep {{[-c|--count]}} {{search_string}} {{path/to/file}}` - -- Show the line number in the file along with the line matched: - -`fgrep {{[-n|--line-number]}} {{search_string}} {{path/to/file}}` - -- Display all lines except those that contain the search string: - -`fgrep {{[-v|--invert-match]}} {{search_string}} {{path/to/file}}` - -- Display filenames whose content matches the search string at least once: - -`fgrep {{[-l|--files-with-matches]}} {{search_string}} {{path/to/file1 path/to/file2 ...}}` +`tldr grep` From 019d227a0049ff559ba15d6b40e8d2f64100f576 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 11 Dec 2025 03:25:21 +0200 Subject: [PATCH 03/13] Update fgrep.md --- pages/common/fgrep.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/fgrep.md b/pages/common/fgrep.md index 889c396d5b6326..85c64411a3656c 100644 --- a/pages/common/fgrep.md +++ b/pages/common/fgrep.md @@ -1,6 +1,6 @@ # fgrep -> This command is an alias of `grep -F`. +> This command is an alias of `grep --fixed-strings`. - View documentation for the original command: From ee1a74fb31d9963e32d452180b437362a8038e5e Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 11 Dec 2025 03:34:57 +0200 Subject: [PATCH 04/13] Update zgrep.md --- pages/common/zgrep.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/zgrep.md b/pages/common/zgrep.md index f0bc8863b9912c..561f2c1bc27ac5 100644 --- a/pages/common/zgrep.md +++ b/pages/common/zgrep.md @@ -1,6 +1,6 @@ # zgrep -> Grep text patterns from files within compressed file (equivalent to `grep -Z`). +> Grep text patterns from files within compressed files. > More information: . - Grep a pattern in a compressed file (case-sensitive): From 68227b65c09b78eceec389c86673ab7a50f68cf3 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 11 Dec 2025 03:41:11 +0200 Subject: [PATCH 05/13] Update zfgrep.md --- pages/common/zfgrep.md | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/pages/common/zfgrep.md b/pages/common/zfgrep.md index 269207a3a84ea0..677060fb229ff7 100644 --- a/pages/common/zfgrep.md +++ b/pages/common/zfgrep.md @@ -1,25 +1,7 @@ # zfgrep -> Matches fixed strings in possibly compressed files. -> Equivalent to `grep --fixed-strings` with input decompressed first if necessary. -> More information: . +> This command is an alias of `zgrep --fixed-strings`. -- Search for an exact string in a file: +- View documentation for the original command: -`zfgrep {{search_string}} {{path/to/file}}` - -- Count the number of lines that match the given string in a file: - -`zfgrep {{[-c|--count]}} {{search_string}} {{path/to/file}}` - -- Show the line number in the file along with the matching lines: - -`zfgrep {{[-n|--line-number]}} {{search_string}} {{path/to/file}}` - -- Display all lines except those that contain the search string: - -`zfgrep {{[-v|--invert-match]}} {{search_string}} {{path/to/file}}` - -- List only filenames whose content matches the search string at least once: - -`zfgrep {{[-l|--files-with-matches]}} {{search_string}} {{path/to/file1 path/to/file2 ...}}` +`tldr zgrep` From 4a8029292785d9d93dfe7558e9679fcd7dc05984 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 11 Dec 2025 03:47:00 +0200 Subject: [PATCH 06/13] Update egrep.md --- pages/common/egrep.md | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/pages/common/egrep.md b/pages/common/egrep.md index dc4a8c674c39fa..3b456d6cc80cf4 100644 --- a/pages/common/egrep.md +++ b/pages/common/egrep.md @@ -1,28 +1,7 @@ # egrep -> Find patterns in files using extended `regex` (supports `?`, `+`, `{}`, `()`, and `|`). -> More information: . +> This command is an alias of `grep --extended-regexp`. -- Search for a pattern within a file: +- View documentation for the original command: -`egrep "{{search_pattern}}" {{path/to/file}}` - -- Search for a pattern within multiple files: - -`egrep "{{search_pattern}}" {{path/to/file1 path/to/file2 ...}}` - -- Search `stdin` for a pattern: - -`cat {{path/to/file}} | egrep {{search_pattern}}` - -- Print file name and line number for each match: - -`egrep {{[-H|--with-filename]}} {{[-n|--line-number]}} "{{search_pattern}}" {{path/to/file}}` - -- Search for a pattern in all files recursively in a directory, ignoring binary files: - -`egrep {{[-r|--recursive]}} --binary-files={{without-match}} "{{search_pattern}}" {{path/to/directory}}` - -- Search for lines that do not match a pattern: - -`egrep {{[-v|--invert-match]}} "{{search_pattern}}" {{path/to/file}}` +`tldr grep` From bfdd2843b8573d42e924d36ecab6fc76336e7f63 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 11 Dec 2025 03:52:25 +0200 Subject: [PATCH 07/13] Update bzfgrep.md --- pages/common/bzfgrep.md | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/pages/common/bzfgrep.md b/pages/common/bzfgrep.md index a258a16a7fb83f..4d5ce7d3453f92 100644 --- a/pages/common/bzfgrep.md +++ b/pages/common/bzfgrep.md @@ -1,28 +1,7 @@ # bzfgrep -> Find any fixed strings separated by new lines in `bzip2` compressed files using `fgrep`. -> More information: . +> This command is an alias of `bzgrep --fixed-strings`. -- Search for lines matching the list of search strings separated by new lines in a compressed file (case-sensitive): +- View documentation for the original command: -`bzfgrep "{{search_string}}" {{path/to/file}}` - -- Search for lines matching the list of search strings separated by new lines in a compressed file (case-insensitive): - -`bzfgrep {{[-i|--ignore-case]}} "{{search_string}}" {{path/to/file}}` - -- Search for lines that do not match the list of search strings separated by new lines in a compressed file: - -`bzfgrep {{[-v|--invert-match]}} "{{search_string}}" {{path/to/file}}` - -- Print file name and line number for each match: - -`bzfgrep {{[-H|--with-filename]}} {{[-n|--line-number]}} "{{search_string}}" {{path/to/file}}` - -- Search for lines matching a pattern, printing only the matched text: - -`bzfgrep {{[-o|--only-matching]}} "{{search_string}}" {{path/to/file}}` - -- Recursively search files in a bzip2 compressed tar archive for the given list of strings: - -`bzfgrep {{[-r|--recursive]}} "{{search_string}}" {{path/to/file}}` +`tldr bzgrep` From 89068ee1a677473be93b5de23dbcd4e2589dae7f Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 11 Dec 2025 03:53:56 +0200 Subject: [PATCH 08/13] Update bzegrep.md --- pages/common/bzegrep.md | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/pages/common/bzegrep.md b/pages/common/bzegrep.md index 3fb9260b9aac40..33af4d2a35682c 100644 --- a/pages/common/bzegrep.md +++ b/pages/common/bzegrep.md @@ -1,28 +1,7 @@ # bzegrep -> Find extended `regex` patterns in `bzip2` compressed files using `egrep`. -> More information: . +> This command is an alias of `bzgrep --extended-regexp`. -- Search for extended `regex` (supporting `?`, `+`, `{}`, `()` and `|`) in a compressed file (case-sensitive): +- View documentation for the original command: -`bzegrep "{{search_pattern}}" {{path/to/file}}` - -- Search for extended `regex` (supporting `?`, `+`, `{}`, `()` and `|`) in a compressed file (case-insensitive): - -`bzegrep {{[-i|--ignore-case]}} "{{search_pattern}}" {{path/to/file}}` - -- Search for lines that do not match a pattern: - -`bzegrep {{[-v|--invert-match]}} "{{search_pattern}}" {{path/to/file}}` - -- Print file name and line number for each match: - -`bzegrep {{[-H|--with-filename]}} {{[-n|--line-number]}} "{{search_pattern}}" {{path/to/file}}` - -- Search for lines matching a pattern, printing only the matched text: - -`bzegrep {{[-o|--only-matching]}} "{{search_pattern}}" {{path/to/file}}` - -- Recursively search files in a bzip2 compressed tar archive for a pattern: - -`bzegrep {{[-r|--recursive]}} "{{search_pattern}}" {{path/to/file}}` +`tldr bzgrep` From 0eea66bcdbc8df6254f61c8dfc83719d8beeb2a8 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 11 Dec 2025 04:02:32 +0200 Subject: [PATCH 09/13] Update lzegrep.md --- pages/common/lzegrep.md | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/common/lzegrep.md b/pages/common/lzegrep.md index 4110d47c330979..882a41b4784138 100644 --- a/pages/common/lzegrep.md +++ b/pages/common/lzegrep.md @@ -1,7 +1,6 @@ # lzegrep > This command is an alias of `xzgrep --extended-regexp`. -> See also: `egrep`. - View documentation for the original command: From d3697302a8a7047b6b3c0c0a86dc021eccc40af0 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 11 Dec 2025 04:04:20 +0200 Subject: [PATCH 10/13] Update lzfgrep.md --- pages/common/lzfgrep.md | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/common/lzfgrep.md b/pages/common/lzfgrep.md index c33ceb576f40b0..8e656343d99f35 100644 --- a/pages/common/lzfgrep.md +++ b/pages/common/lzfgrep.md @@ -1,7 +1,6 @@ # lzfgrep > This command is an alias of `xzgrep --fixed-strings`. -> See also: `fgrep`. - View documentation for the original command: From 6d36c032e7fa3899dd3a33a30a6d39af37d2741d Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 11 Dec 2025 04:04:40 +0200 Subject: [PATCH 11/13] Update xzfgrep.md --- pages/common/xzfgrep.md | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/common/xzfgrep.md b/pages/common/xzfgrep.md index c12c694a25e214..193c65372bb7b0 100644 --- a/pages/common/xzfgrep.md +++ b/pages/common/xzfgrep.md @@ -1,7 +1,6 @@ # xzfgrep > This command is an alias of `xzgrep --fixed-strings`. -> See also: `fgrep`. - View documentation for the original command: From f56555a1ff9a0fbe497af9b68209c7f370ac7475 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 11 Dec 2025 04:06:21 +0200 Subject: [PATCH 12/13] Update zegrep.md --- pages/common/zegrep.md | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/pages/common/zegrep.md b/pages/common/zegrep.md index 3e7038dfbd0c35..a845ad1ec12020 100644 --- a/pages/common/zegrep.md +++ b/pages/common/zegrep.md @@ -1,28 +1,7 @@ # zegrep -> Find extended `regex` patterns in compressed files using `egrep`. -> More information: . +> This command is an alias of `zgrep --extended-regexp`. -- Search for extended `regex` (supporting `?`, `+`, `{}`, `()` and `|`) in a compressed file (case-sensitive): +- View documentation for the original command: -`zegrep "{{search_pattern}}" {{path/to/file}}` - -- Search for extended `regex` (supporting `?`, `+`, `{}`, `()` and `|`) in a compressed file (case-insensitive): - -`zegrep {{[-i|--ignore-case]}} "{{search_pattern}}" {{path/to/file}}` - -- Search for lines that do not match a pattern: - -`zegrep {{[-v|--invert-match]}} "{{search_pattern}}" {{path/to/file}}` - -- Print file name and line number for each match: - -`zegrep {{[-H|--with-filename]}} {{[-n|--line-number]}} "{{search_pattern}}" {{path/to/file}}` - -- Search for lines matching a pattern, printing only the matched text: - -`zegrep {{[-o|--only-matching]}} "{{search_pattern}}" {{path/to/file}}` - -- Recursively search files in a compressed file for a pattern: - -`zegrep {{[-r|--recursive]}} "{{search_pattern}}" {{path/to/file}}` +`tldr zgrep` From 7ac7a94bdd068583b01cd63157a2da2c36cc0d74 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 11 Dec 2025 04:08:03 +0200 Subject: [PATCH 13/13] Update xzegrep.md --- pages/common/xzegrep.md | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/common/xzegrep.md b/pages/common/xzegrep.md index e6d70c19757bb8..ccb20fb28f4dca 100644 --- a/pages/common/xzegrep.md +++ b/pages/common/xzegrep.md @@ -1,7 +1,6 @@ # xzegrep > This command is an alias of `xzgrep --extended-regexp`. -> See also: `egrep`. - View documentation for the original command: