ugrep
Ultra-fast grep with interactive query mode
TLDR
Search pattern
SYNOPSIS
ugrep [-r] [-Q] [-z] [-Z] [options] pattern [files]
DESCRIPTION
ugrep is a high-performance text search tool designed as a modern replacement for grep with extended capabilities. It provides an interactive query mode with real-time results, Boolean search operators (AND, OR, NOT), fuzzy matching for approximate patterns, and the ability to search inside compressed archives and binary files.
The tool is grep-compatible and supports POSIX, Perl, and fixed-string pattern syntax. It can search recursively through directories with file type filtering, output results in various formats including JSON and CSV, and display context around matches.
Archive searching handles ZIP, tar, gzip, bzip2, and other compressed formats transparently. The interactive query UI (invoked via the ug alias) allows refining searches in real time.
PARAMETERS
-r
Recursive.-Q
Interactive TUI.-z
Search archives.-Z
Fuzzy matching.-i
Case insensitive.--bool
Boolean queries.
CAVEATS
Different from grep. More features. C++ implementation.
HISTORY
ugrep was created as a fast, feature-rich grep replacement with interactive and fuzzy search capabilities.
