bzmore
Display compressed text files
SYNOPSIS
bzmore [options] [file...]
PARAMETERS
-d
Decompress to standard output.
-f
Force decompression. Overrides checks for input files being directories, links, or existing files, as well as not writing to terminal.
-h or --help
Display a help message and exit.
-n
When viewing via 'less', disable line numbers (useful on slow terminals).
-s
Squeeze multiple blank lines into one single blank line.
-v or --version
Display version information and exit.
+
Start displaying from line number
+/
Start displaying from the first line containing the specified pattern.
file
The bzip2 compressed file to view. If no file is specified, or '-' is given, bzmore reads from standard input.
DESCRIPTION
The bzmore command is a filter that allows you to view text files compressed with bzip2. It decompresses the file on-the-fly and pipes the output to a pager program, typically more or less, allowing you to view the contents one screen at a time. This is particularly useful for examining large compressed log files or other large text-based data without having to decompress the entire file to disk first. The command automatically handles the decompression process, simplifying the task of browsing compressed text. It is designed to be a convenient way to read bzip2-compressed files directly from the command line. If no file is specified, or if the file argument is a single dash ('-'), bzmore reads from standard input, which can be useful in pipelines.
The user can page through the file using the usual more or less commands (spacebar to go forward, 'q' to quit, etc.).
EXIT STATUS
The exit status is 0 on successful completion, and non-zero for errors.
ENVIRONMENT
bzmore uses the environment variables MORE or PAGER to determine which pager program to use. If neither is set, it defaults to more.
HISTORY
bzmore was created to provide a convenient way to view bzip2 compressed files directly without needing to manually decompress them. It functions similarly to zmore for gzip compressed files. It leverages the bzip2 decompression tools to handle the decompression process and then uses a pager (like more or less) to display the decompressed content.