From b361c57b8b8ed2bd6e6456856ee6dc8f71448223 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Tue, 20 Jul 2021 21:14:44 +0200 Subject: Updated rationale related to egrep (link added) --- TODO.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'TODO.md') 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 -- cgit v1.2.3