Bug 1034855 - [RFE] Provide bzegrep and bzfgrep shortcuts
Summary: [RFE] Provide bzegrep and bzfgrep shortcuts
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bzip2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Schiffer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-26 15:46 UTC by Cristian Ciupitu
Modified: 2013-12-12 14:28 UTC (History)
2 users (show)

Fixed In Version: bzip2-1.0.6-10.fc21
Clone Of:
Environment:
Last Closed: 2013-12-12 14:28:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.