


ZGREP(1)						 ZGREP(1)


NNAAMMEE
       zgrep  -	search	possibly  compressed files for a regular
       expression

SSYYNNOOPPSSIISS
       zzggrreepp [ grep_options ] [[ --ee ]] _p_a_t_t_e_r_n _f_i_l_e_n_a_m_e...

DDEESSCCRRIIPPTTIIOONN
       _Z_g_r_e_p is used to invoke the _g_r_e_p on compress'ed or gzip'ed
       files.  All options specified are passed directly to _g_r_e_p_.
       If no file is specified, then the standard input is decom-
       pressed if necessary and fed to grep.  Otherwise the given
       files are uncompressed if necessary and fed to _g_r_e_p_.

       If _z_g_r_e_p is invoked as _z_e_g_r_e_p  or  _z_f_g_r_e_p  then	_e_g_r_e_p  or
       _f_g_r_e_p  is  used	instead of _g_r_e_p_.  If the GREP environment
       variable is set, _z_g_r_e_p uses it as the _g_r_e_p program  to  be
       invoked. For example:

	   for sh:  GREP=fgrep	zgrep string files
	   for csh: (setenv GREP fgrep; zgrep string files)

AAUUTTHHOORR
       Charles Levert (charles@comm.polymtl.ca)

SSEEEE AALLSSOO
       grep(1),	egrep(1), fgrep(1), zdiff(1), zmore(1), znew(1),
       zforce(1), gzip(1), gzexe(1)





























								1


