home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / gcc / gcc260utilsdoc.lha / gnu / man / man1 / zgrep.1 < prev    next >
Encoding:
Text File  |  1994-07-30  |  1.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ZGREP(1)                 USER COMMANDS                   ZGREP(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      zgrep - search  possibly  compressed  files  for  a  regular
  10.      expression
  11.  
  12. SYNOPSIS
  13.      zgrep [ grep_options ] [ -e ] _p_a_t_t_e_r_n _f_i_l_e_n_a_m_e...
  14.  
  15. DESCRIPTION
  16.      _Z_g_r_e_p is used to invoke the _g_r_e_p on compress'ed  or  gzip'ed
  17.      files. All options specified are passed directly to _g_r_e_p. If
  18.      no  file  is  specified,  then   the   standard   input   is
  19.      decompressed  if  necessary  and fed to grep.  Otherwise the
  20.      given files are uncompressed if necessary and fed to _g_r_e_p.
  21.  
  22.      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
  23.      is used instead of _g_r_e_p. If the GREP environment variable is
  24.      set, _z_g_r_e_p uses it as the _g_r_e_p program to  be  invoked.  For
  25.      example:
  26.  
  27.          for sh:  GREP=fgrep  zgrep string files
  28.          for csh: (setenv GREP fgrep; zgrep string files)
  29.  
  30. AUTHOR
  31.      Charles Levert (charles@comm.polymtl.ca)
  32.  
  33. SEE ALSO
  34.      grep(1), egrep(1), fgrep(1),  zdiff(1),  zmore(1),  znew(1),
  35.      zforce(1), gzip(1), gzexe(1)
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sun Release 4.1           Last change:                          1
  64.  
  65.  
  66.  
  67.