macOS
brew install bgreplocal Homebrew formula metadata
brew
Like grep but for binary strings. Version 0.3 via Homebrew; verified 2026-06-10.
install
brew install bgreplocal Homebrew formula metadata
overview
Like grep but for binary strings
history
bgrep is a tiny binary-pattern search utility: grep-like in spirit, but aimed at byte sequences in binary files rather than text lines.
The README gives the origin story plainly: the author was annoyed that grep could not look for binary strings and wrote a tool for that job. The GitHub repository was created in 2010, has a small tag history, and remains a compact C utility rather than a broad search framework.
The input metadata records Homebrew packaging for bgrep. Its adoption is correspondingly modest and toolbelt-oriented: useful enough to package, but intentionally small.
bgrep searches for a hex byte pattern, can recurse through directories, can print before/after context bytes, can read a pattern from a file, and can apply a mask file for wildcard bytes. When no path is given, it reads standard input.
The package is significant in the classic Unix sense: one C file, one executable, one missing behavior from grep filled without pulling in a larger forensic suite. It is handy for firmware, image, dump, and protocol-payload spelunking.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bgrep | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/tmbinc/bgrep
install metadata
| Package key | brew:bgrep |
|---|---|
| Version | 0.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/bgrep |
| Homepage | https://github.com/tmbinc/bgrep |
| Repository | https://github.com/tmbinc/bgrep |
| Upstream docs | https://github.com/tmbinc/bgrep#readme |
| License | BSD-2-Clause |
| Source archive | https://github.com/tmbinc/bgrep/archive/refs/tags/bgrep-0.3.tar.gz |
| Last updated | 2026-06-10T03:29:15Z |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bgrep |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.