#698145 /etc/skel/.bashrc: "handy aliases" section: use of deprecated programs fgrep and egrep

Package:
bash
Source:
bash
Description:
GNU Bourne Again SHell
Submitter:
Thomas Rieschl
Date:
2021-11-12 23:15:03 UTC
Severity:
minor
#698145#5
Date:
2013-01-14 12:01:20 UTC
From:
To:
/etc/skel/.bashrc still usees the depreceted programs 'egrep' and 'fgrep'.
Although these lines are commented our by default, the alias value should be changed to 'grep -E' and 'grep -F', respectively:
#alias fgrep='grep -F --color=auto'
#alias egrep='grep -E --color=auto'

'grep --help' says:
`egrep' means `grep -E'.  `fgrep' means `grep -F'.
Direct invocation as either `egrep' or `fgrep' is deprecated.

#698145#10
Date:
2021-11-12 23:04:20 UTC
From:
To:
In current post 3.7 Git `egrep` and `fgrep` have been made to emit
obsolescence warnings:
https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1

Perhaps bump the severity a bit if this cannot be quickly fixed?