LinuxCommandLibrary

ugrep

TLDR

Search pattern

$ ugrep "[pattern]" [file]
copy
Recursive search
$ ugrep -r "[pattern]"
copy
Interactive mode
$ ugrep -Q "[pattern]"
copy
Search archives
$ ugrep -z "[pattern]" [archive.zip]
copy
Boolean query
$ ugrep "[word1] AND [word2]"
copy
Fuzzy matching
$ ugrep -Z "[pattern]" [file]
copy

SYNOPSIS

ugrep [-r] [-Q] [-z] [-Z] [options] pattern [files]

DESCRIPTION

ugrep searches text fast. It's a modern grep.
Interactive UI. Query mode.
Archive searching. ZIP, tar, etc.
Boolean queries. AND, OR, NOT.
Fuzzy matching. Approximate search.

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.

SEE ALSO

grep(1), rg(1), ag(1)

Copied to clipboard