---
name: "bz3grep"
section: "1"
platform: "linux"
package: "bzip3"
version: "1.5.5-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/bz3grep"
---

# bz3grep(1)

print lines matching a pattern in bzip3-compressed files

## NAME

**bz3grep** - print lines matching a pattern in bzip3-compressed files

## SYNOPSIS

**bz3grep** \[*grep-flags*\] \[--\] *pattern* \[*files* ...\]

## DESCRIPTION

**bz3grep** runs **[grep(1)](/grep/1.md)** on files, or **stdin** if no files argument is given, after decompressing them with **[bz3cat(1)](/bz3cat/1.md)**.

The grep-flags and pattern arguments are passed on to **[grep(1)](/grep/1.md)**. If an **-e** flag is found in the **grep-flags**, **bz3grep** will not look for a pattern argument.

## EXIT STATUS

In case of missing arguments or missing pattern, 1 will be returned, otherwise 0.

## SEE ALSO

**[bzip3(1)](/bzip3/1.md)**

## AUTHORS

Thomas Klausner *wiz@NetBSD.org*
