Bug 1034855

Summary: [RFE] Provide bzegrep and bzfgrep shortcuts
Product: [Fedora] Fedora Reporter: Cristian Ciupitu <cristian.ciupitu>
Component: bzip2Assignee: Peter Schiffer <pschiffe>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: pertusus, pschiffe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: bzip2-1.0.6-10.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-12 14:28:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cristian Ciupitu 2013-11-26 15:46:19 UTC
Description of problem:
gzip and xz provide compressed versions of the egrep and fgrep
"shortcuts", but bzip2 does not. It should provides bzegrep and bzfgrep
besides the existing bzgrep.

Version-Release number of selected component (if applicable):
bzip2-1.0.6-9.fc20.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. rpm -q -l bzip2 | fgrep grep

Actual results:
Only bzgrep is provided.

Expected results:
bzegrep and bzfgrep should be provided too.

Additional info:
The grep man pages says:

   In addition, two variant programs egrep and fgrep are available.
   egrep is the same as grep -E.  fgrep is the same as grep -F.  Direct
   invocation as either egrep or fgrep is deprecated, but is provided to
   allow historical applications that rely on them to run unmodified.

Bug #1034847 wants to provide colored output for bzegrep and bzfgrep.

Comment 1 Peter Schiffer 2013-12-12 14:28:41 UTC
fixed in rawhide:
bzip2-1.0.6-10.fc21
http://koji.fedoraproject.org/koji/buildinfo?buildID=484300


$ rpm -q bzip2
bzip2-1.0.6-10.fc21.x86_64

$ rpm -ql bzip2 | grep grep
/usr/bin/bzegrep
/usr/bin/bzfgrep
/usr/bin/bzgrep
/usr/share/man/man1/bzegrep.1.gz
/usr/share/man/man1/bzfgrep.1.gz
/usr/share/man/man1/bzgrep.1.gz