Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2021-07-20 22:14:44 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2021-07-20 22:14:44 +0300
commitb361c57b8b8ed2bd6e6456856ee6dc8f71448223 (patch)
treed936551e1272538472281fd22862fad8fc1727b8 /TODO.md
parent0b2c396a2802ef9277c728f0a41b363266297274 (diff)
Updated rationale related to egrep (link added)
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/TODO.md b/TODO.md
index 29040c34..baf9e498 100644
--- a/TODO.md
+++ b/TODO.md
@@ -9,4 +9,9 @@ Like to help? See CONTRIBUTING.md for more details.
Remove usage of `egrep` and `fgrep`. Replace with `grep` or `grep -E`.
-Rationale: egrep/fgrep are deprecated. Although often linked on Linux distributions, here is an example where `egrep` is missing on an embedded Linux distribution: https://github.com/CISOfy/lynis/issues/1191
+### Rationale:
+The egrep/fgrep commands are deprecated. Although often linked on Linux distributions, here is an example where `egrep` is missing on an embedded Linux distribution: https://github.com/CISOfy/lynis/issues/1191
+
+[The Open Group Base Specifications Issue 7, 2018 edition](https://pubs.opengroup.org/onlinepubs/9699919799/)
+
+> This grep has been enhanced in an upwards-compatible way to provide the exact functionality of the historical egrep and fgrep commands as well. It was the clear intention of the standard developers to consolidate the three greps into a single command. \ No newline at end of file