The Precise Pangolin has reached end of life, so this bug will not be
fixed for that release

** Changed in: gzip (Ubuntu Precise)
       Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gzip in Ubuntu.
https://bugs.launchpad.net/bugs/1192168

Title:
  zgrep does not correctly pass short options to grep

Status in gzip package in Ubuntu:
  Fix Released
Status in gzip source package in Precise:
  Won't Fix

Bug description:
  zgrep --help / man zgrep say that “OPTIONs are the same as for
  'grep'.” and “All options specified are passed directly to grep.”,
  respectively. Testing shows that this does not work with the -h
  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.

  cadams@platinum:~ $ zgrep -h 11689 /vol/wdl/web-logs/*201306*.gz | head
  
/vol/wdl/web-logs/log.esclf_S.201305310000-201306010000-20130531-99.99c-0.gz:1.2.3.4
 - - [31/May/2013:08:22:18 +0000] "GET 
/media/3570/service/dzi/1/22_files/10/1_0.jpg HTTP/1.1" 200 11689 "-" 
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:21.0) Gecko/20100101 
Firefox/21.0" "-"

  cadams@platinum:~ $ zgrep --no-filename 11689 /vol/wdl/web-logs/*201306*.gz | 
head
  1.2.3.4 - - [31/May/2013:08:22:18 +0000] "GET 
/media/3570/service/dzi/1/22_files/10/1_0.jpg HTTP/1.1" 200 11689 "-" 
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:21.0) Gecko/20100101 
Firefox/21.0" "-"

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: gzip 1.4-1ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-45.70-generic 3.2.44
  Uname: Linux 3.2.0-45-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.3
  Architecture: amd64
  Date: Tue Jun 18 09:16:30 2013
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: gzip
  UpgradeStatus: Upgraded to precise on 2012-11-23 (206 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gzip/+bug/1192168/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to