linux man page for xzgrep

Query: xzgrep

OS: linux

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XZGREP(1)							     XZ Utils								 XZGREP(1)

NAME
xzgrep - search compressed files for a regular expression
SYNOPSIS
xzgrep [grep_options] [-e] pattern file... xzegrep ... xzfgrep ... lzgrep ... lzegrep ... lzfgrep ...
DESCRIPTION
xzgrep invokes grep(1) on files which may be either uncompressed or compressed with xz(1), lzma(1), gzip(1), or bzip2(1). All options specified are passed directly to grep(1). If no file is specified, then standard input is decompressed if necessary and fed to grep(1). When reading from standard input, gzip(1) and bzip2(1) compressed files are not supported. If xzgrep is invoked as xzegrep or xzfgrep then egrep(1) or fgrep(1) is used instead of grep(1). The same applies to names lzgrep, lze- grep, and lzfgrep, which are provided for backward compatibility with LZMA Utils.
ENVIRONMENT
GREP If the GREP environment variable is set, xzgrep uses it instead of grep(1), egrep(1), or fgrep(1).
SEE ALSO
grep(1), xz(1), gzip(1), bzip2(1), zgrep(1) Tukaani 2010-09-27 XZGREP(1)
Related Man Pages
grep(1) - v7
grep(1) - osx
egrep(1) - bsd
fgrep(1) - sunos
fgrep(1) - osx
Similar Topics in the Unix Linux Community
How to extract elements in a field using a number
Query regarding egrep command
How to use grep
Error in if statement
GREP function in ksh which ignores LINE Breaks