Submit a product

ugrep

command-line file pattern searcher and grep replacement

ToolCommand lineWindowsOpen source

ugrep is a command-line tool for searching files for text patterns, meant as a replacement for grep. It is aimed at developers and system administrators who search source trees, logs and document collections from a terminal. Beyond plain regular expressions, it offers Boolean queries with AND, OR and NOT, fuzzy matching and a text-based interface.

It can look inside archives such as zip, 7z, tar and cpio, including nested ones, and inside compressed files in formats like gz, bz2, xz and zstd. It also searches PDFs and some document formats and can print hexdumps. The source code is public under the BSD-3-Clause license, and the facts list it as a command-line program.

Alternatives to ugrep

Products that do a similar job in Developer Tools.

All alternatives

ripgrep

command-line search tool that finds regex matches across directory trees

ToolDeveloper Tools··Open source·71k

television

command-line fuzzy finder with channels for files, text and shell history

ToolDeveloper Tools··Open source·6.5k

gron

Command-line tool that flattens JSON into greppable lines

ToolDeveloper Tools··Open source·15k

fq

jq-style queries and decoding for binary file formats

ToolDeveloper Tools··Open source·11k

fzf

Command-line fuzzy finder for lists of files, history and any text

ToolDeveloper Tools··Open source·85k

lazygit

Terminal UI for running git commands with keyboard shortcuts

ToolDeveloper Tools··Open source·84k

Alacritty

GPU-accelerated terminal emulator for Linux, macOS, Windows and BSD

ToolDeveloper Tools··Open source·66k

bat

command-line file viewer with syntax highlighting and git integration

ToolDeveloper Tools··Open source·62k