[Bug 1192168] Re: zgrep does not correctly pass short options to grep
Brian Murray
brian at ubuntu.com
Tue Sep 3 15:46:45 UTC 2013
The -h option works in Saucy, which will become Ubuntu 13.10, so I am
marking this bug as Fix Released and have opened a task for Precise.
** Changed in: gzip (Ubuntu)
Importance: Undecided => Low
** Also affects: gzip (Ubuntu Precise)
Importance: Undecided
Status: New
** Changed in: gzip (Ubuntu)
Status: New => Fix Released
** Changed in: gzip (Ubuntu Precise)
Status: New => Triaged
** Changed in: gzip (Ubuntu Precise)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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:
Triaged
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 at 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 at 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
More information about the foundations-bugs
mailing list