BSD Ports

textproc/tgrep 1.0.10 DragonFly

Trigram-indexed grep for fast regex search in large codebases locally

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
textproc
Package size
1686.5 KiB, 5914.4 KiB installed

Description

Trigram-indexed grep with a client/server architecture for fast regex search in large codebases.

Tools like grep and ripgrep scan every file on every search - O(total bytes) per query. In a 100k+ file monorepo, that's painfully slow. tgrep pre-builds a trigram index so searches only touch the small set of files that could match.

In the other systems

The newest version among them is 1.2.7, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlytextproc/tgrep1.0.10 behind since 2026-10-05none known-[email protected]-
FreeBSDtextproc/tgrep1.2.7 newestnone known-[email protected]2026-11-05
HardenedBSDtextproc/tgrep1.2.4 behind since 2026-10-28no data-[email protected]-
GhostBSDtextproc/tgrep1.2.5 behind since 2026-11-01no data-[email protected]-

Version history 1

  1. 1.0.10

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install tgrep

From DPorts:

cd /usr/dports/textproc/tgrep && make install clean

Dependencies

No port depends on this one.