Home | History | Annotate | Download | only in gzip
History log of /src/usr.bin/gzip/zgrep
RevisionDateAuthorComments
 1.9  06-Jul-2015  nakayama zgrep(1): suppress the prefixing of filename on output when only
one file is specified to match the grep(1)'s output.
 1.8  25-Jul-2013  pgoyette branches: 1.8.4;
fferentiate zegrep and zfgrep by their basename only, so they can be
invoked with a pathname (ie, /usr/bin/z{e,f}grep).

OK wiz@
 1.7  08-May-2008  wiz branches: 1.7.2; 1.7.24;
2-clause my license.
 1.6  27-Apr-2008  nakayama branches: 1.6.2;
grep "-H" option (print the filename for each match) always prints
filenames whether "-h" option (suppress filenames when multiple files
are searched) is speficied or not.

Make zgrep "-h" option actually works with using "-H" option only
when "-h" is not specified.
 1.5  03-May-2006  yamt branches: 1.5.6; 1.5.8; 1.5.16; 1.5.20;
- fix --.
- fix -e.
- fix patterns starting with -.
- fix "missing argument" message.
 1.4  25-May-2004  mrg branches: 1.4.2; 1.4.4; 1.4.6;
use "zcat -fq" not just plain "zcat". this lets zgrep work on non
compressed files (as reported by simonb) as well as not printing
random warnings that zgrep isn't ready to handle.
 1.3  27-Apr-2004  jdolecek quote pattern when passing to grep, so that paterns containing
spaces would be handled properly

fixes PR bin/25345 by Arto Selonen
 1.2  28-Dec-2003  wiz branches: 1.2.2;
Add RCS Id.
 1.1  28-Dec-2003  wiz Add a BSD licensed zgrep written by me.
Much nicer than the old one, if I may say so.

Thanks go to atatat for testing and suggestions.
 1.2.2.2  30-May-2004  tron Pull up revision 1.4 (requested by mrg in ticket #421):
use "zcat -fq" not just plain "zcat". this lets zgrep work on non
compressed files (as reported by simonb) as well as not printing
random warnings that zgrep isn't ready to handle.
 1.2.2.1  30-May-2004  tron Pull up revision 1.3 (requested by mrg in ticket #421):
quote pattern when passing to grep, so that paterns containing
spaces would be handled properly
fixes PR bin/25345 by Arto Selonen
 1.4.6.1  11-May-2008  jdc Pull up revision 1.6 (requested by nakayama in ticket #1927).

grep "-H" option (print the filename for each match) always prints
filenames whether "-h" option (suppress filenames when multiple files
are searched) is speficied or not.

Make zgrep "-h" option actually works with using "-H" option only
when "-h" is not specified.
 1.4.4.1  11-May-2008  jdc Pull up revision 1.6 (requested by nakayama in ticket #1927).

grep "-H" option (print the filename for each match) always prints
filenames whether "-h" option (suppress filenames when multiple files
are searched) is speficied or not.

Make zgrep "-h" option actually works with using "-H" option only
when "-h" is not specified.
 1.4.2.1  11-May-2008  jdc Pull up revision 1.6 (requested by nakayama in ticket #1927).

grep "-H" option (print the filename for each match) always prints
filenames whether "-h" option (suppress filenames when multiple files
are searched) is speficied or not.

Make zgrep "-h" option actually works with using "-H" option only
when "-h" is not specified.
 1.5.20.1  18-May-2008  yamt sync with head.
 1.5.16.1  08-May-2008  jdc Pull up revision 1.6 (requested by nakayama in ticket #1134).

grep "-H" option (print the filename for each match) always prints
filenames whether "-h" option (suppress filenames when multiple files
are searched) is speficied or not.

Make zgrep "-h" option actually works with using "-H" option only
when "-h" is not specified.
 1.5.8.1  03-Jun-2008  skrll Sync with netbsd-4.
 1.5.6.1  08-May-2008  jdc Pull up revision 1.6 (requested by nakayama in ticket #1134).

grep "-H" option (print the filename for each match) always prints
filenames whether "-h" option (suppress filenames when multiple files
are searched) is speficied or not.

Make zgrep "-h" option actually works with using "-H" option only
when "-h" is not specified.
 1.6.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.7.24.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.8.4.1  17-Jul-2015  snj Pull up following revision(s) (requested by nakayama in ticket #870):
usr.bin/gzip/zgrep: revision 1.9
zgrep(1): suppress the prefixing of filename on output when only
one file is specified to match the grep(1)'s output.

RSS XML Feed