Universal grep

Ultra fast searcher of file systems, text and binary files, source code, archives (cpio/tar/pax/zip), compressed files (zip/gz/Z/bz2/lzma/xz), and more. Search for anything in everything... fast!

What people are saying about ugrep

"Impressive work! And thanks for an amazing writeup, again! This is already my go to search-tool, and it just keeps on getting better. Well done." -RuneBergh on GitHub

"Many thanks for your prompt help. And congratulations on an impressively-featured utility." -ISO8807 on GitHub

"ugrep is by far the fastest grep for searching compressed logs now. Impressive." -RuneBergh on GitHub

What is ugrep?

ugrep is a high-performance file system search utility. Not only is ugrep ultra fast, ugrep has much more to offer than GNU/BSD grep and other grep-like utilities:

ugrepGNU
grep
BSD
grep
Open source licenseBSDGPLBSD
Ultra fast parallel search with avx/sse2, threads, and mmapyesnono
Unicode text search (UTF-8, UTF-16, UTF-32)yesnono
Use predefined patterns to quickly search source codeyesnono
Search files by file types, e.g. scripts and source codeyesnono
Search files while ignoring files specified in .gitignoreyesnono
Search files stored in cpio, tar, pax, and zip archivesyesnono
Search compressed files (.gz, .Z, .bz, .bz2, .lzma, .xz, .zip)yesno.gz
Search documents (pdf, doc, docx, etc.) using filtersyesnono
Search binary files and output hexdumps for matchesyesnono
Search files by filename extensions and magic bytesyesnono
Custom output options (CSV, JSON, XML)yesnono
User-specified custom output formattingyesnono
Sort output by file name, size, and time used/changed/createdyesnono
Use gitignore-style globs to select files to searchyesnono
Match patterns across newlinesyesnono
Skip unwanted matches with negative patternsyesnono
Match replacement with backreferencesyesnono
Supports encodings ISO-8859-1, CP850, EBCDIC, KOI8, etc.yesnono

User Guide and Download Instructions

To view the user guide and the ugrep download instructions, please visit ugrep at GitHub.

Connect
Genivia Inc on LinkedIn Share on Facebook Follow @GeniviaInc on Twitter Connect
Relentlessly
Persuing
Perfection