SYNOPSIS
bzgrep
[grep_options]
[
bzegrep
[egrep_options]
[
bzfgrep
[fgrep_options]
[
DESCRIPTION
The bzgrep utility is used to invoke the grep utility on bzip2 compressed files. All options specified are passed directly to grep. If no file is specified, the standard input is decompressed if necessary and fed to grep. Otherwise, the given files are decompressed (if necessary) and fed to grep.
If bzgrep is invoked as bzegrep or bzfgrep, egrep or fgrep is used instead of grep.
Options
The bzgrep, bzegrep, and bzfgrep utilities accept and pass on the options used by the grep, bzegrep, and bzfgrep utilities, respectively.
DIAGNOSTICS
The bzgrep, bzegrep, and bzfgrep utilities preserve and return the exit status returned from grep, egrep, and fgrep, respectively.
NOTE
These utilities are provided as a KornShell executable scripts. MKS cannot be responsible for proper functionality of this code if you alter the bzgrep.sh, bzegrep.sh, and bzfgrep.sh files in any way.
PORTABILITY
Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022. Windows Server 2025.
AVAILABILITY
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
MKS Toolkit Backup and Tape Handling Solutions Guide
PTC MKS Toolkit 10.5 Documentation Build 40.