Fixed egrep/fgrep aliases

Resolves: rhbz#2215713
This commit is contained in:
Jaroslav Škarvada 2023-07-13 17:36:06 +02:00
parent 799f88f953
commit d31abab5f7
3 changed files with 9 additions and 5 deletions

View File

@ -7,5 +7,5 @@ if ( $status == 1 ) then
endif endif
alias grep 'grep --color=auto' alias grep 'grep --color=auto'
alias egrep 'egrep --color=auto' alias egrep 'grep -E --color=auto'
alias fgrep 'fgrep --color=auto' alias fgrep 'grep -F --color=auto'

View File

@ -3,5 +3,5 @@
/usr/libexec/grepconf.sh -c || return /usr/libexec/grepconf.sh -c || return
alias grep='grep --color=auto' 2>/dev/null alias grep='grep --color=auto' 2>/dev/null
alias egrep='egrep --color=auto' 2>/dev/null alias egrep='grep -E --color=auto' 2>/dev/null
alias fgrep='fgrep --color=auto' 2>/dev/null alias fgrep='grep -F --color=auto' 2>/dev/null

View File

@ -1,7 +1,7 @@
Summary: Pattern matching utilities Summary: Pattern matching utilities
Name: grep Name: grep
Version: 3.11 Version: 3.11
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv3+ License: GPLv3+
URL: https://www.gnu.org/software/grep/ URL: https://www.gnu.org/software/grep/
@ -97,6 +97,10 @@ make check
%{_libexecdir}/grepconf.sh %{_libexecdir}/grepconf.sh
%changelog %changelog
* Thu Jul 13 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 3.11-2
- Fixed egrep/fgrep aliases
Resolves: rhbz#2215713
* Tue Jun 6 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 3.11-1 * Tue Jun 6 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 3.11-1
- New version - New version
Resolves: rhbz#2181063 Resolves: rhbz#2181063