Timeline for Suppress warning: egrep is obsolescent; using grep -E
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 26, 2023 at 2:35 | vote | accept | Kristian | ||
Dec 8, 2022 at 20:10 | comment | added | Stéphane Chazelas |
Strange that they would use a bash shebang when there's nothing bash-specific in there. That adds an unnecessary dependency to that shell. That means however that one could call egrep as: env 'BASH_FUNC_echo%%=() { :; }' egrep to remove that warning. You could make your replacement script #! /bin/bash - / exec -a "$0" grep -E "$@" for it to mention egrep in its error messages.
|
|
Dec 8, 2022 at 17:40 | history | edited | Stephen Kitt | CC BY-SA 4.0 |
Bug references.
|
Dec 8, 2022 at 15:38 | history | answered | Stephen Kitt | CC BY-SA 4.0 |