zgrep -h don't work

Bug #404049 reported by Kaltsi
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gzip (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: grep

The -h option doesn't turn off the print file name on output. It works only with --no-filename option.

 -h, --no-filename
              Suppress the prefixing of file names on output. This is the default when there is only one file
              (or only standard input) to search.

Revision history for this message
Kaltsi (kaltsi) wrote :

grep 2.5.3~dfsg-3 GNU grep, egrep and fgrep
Linux servername 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 GNU/Linux
Ubuntu 8.04.1

Revision history for this message
Ma Hsiao-chun (mahsiaochun) wrote :

zgrep is provided by either gzip or zutils package. It is not provided by grep package. (These are at least true for recent Ubuntu releases)

affects: grep (Ubuntu) → gzip (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gzip (Ubuntu):
status: New → Confirmed
Revision history for this message
Kjetil Torgrim Homme (kjetilho) wrote :

this is a regression, it works correctly in Lucid (1.3.12-9ubuntu1.1)

Revision history for this message
Kjetil Torgrim Homme (kjetilho) wrote :

oh, I should mention I see this behaviour on Precise, 1.4-1ubuntu2. thanks for mentioning the --no-filename workaround, Kaltsi!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.