diff --git a/colorgrep.csh b/colorgrep.csh index b3152a6..aac9d89 100644 --- a/colorgrep.csh +++ b/colorgrep.csh @@ -7,5 +7,5 @@ if ( $status == 1 ) then endif alias grep 'grep --color=auto' -alias egrep 'egrep --color=auto' -alias fgrep 'fgrep --color=auto' +alias egrep 'grep -E --color=auto' +alias fgrep 'grep -F --color=auto' diff --git a/colorgrep.sh b/colorgrep.sh index cd0539c..4aece6a 100644 --- a/colorgrep.sh +++ b/colorgrep.sh @@ -3,5 +3,5 @@ /usr/libexec/grepconf.sh -c || return alias grep='grep --color=auto' 2>/dev/null -alias egrep='egrep --color=auto' 2>/dev/null -alias fgrep='fgrep --color=auto' 2>/dev/null +alias egrep='grep -E --color=auto' 2>/dev/null +alias fgrep='grep -F --color=auto' 2>/dev/null diff --git a/grep.spec b/grep.spec index 73af990..2220645 100644 --- a/grep.spec +++ b/grep.spec @@ -1,7 +1,7 @@ Summary: Pattern matching utilities Name: grep Version: 3.11 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: https://www.gnu.org/software/grep/ @@ -97,6 +97,10 @@ make check %{_libexecdir}/grepconf.sh %changelog +* Thu Jul 13 2023 Jaroslav Škarvada - 3.11-2 +- Fixed egrep/fgrep aliases + Resolves: rhbz#2215713 + * Tue Jun 6 2023 Jaroslav Škarvada - 3.11-1 - New version Resolves: rhbz#2181063