ired
hypergrep
ired | hypergrep | |
---|---|---|
3 | 5 | |
77 | 163 | |
- | - | |
10.0 | 9.3 | |
about 3 years ago | 11 months ago | |
C | C++ | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ired
-
Ugrep – a more powerful, ultra fast, user-friendly, compatible grep
So ired is a toy. One wonders how many search results you've missed over the years because of ired's feature "it's so minimal that it's wrong!" I mean sometimes tools have bugs. ripgrep has had bugs too. But this one has been in ired since 2009.
What is it that you said? YIKES. Yeah. Seems appropriate.
[1]: https://github.com/BurntSushi/dotfiles/blob/eace294fd80bfde1...
[2]: https://github.com/radare/ired/blob/a1fa7904e6ad239dde950de5...
- ired, a favourite hex editor of mine: usage example
hypergrep
-
Ugrep – a more powerful, ultra fast, user-friendly, compatible grep
Another issue with Hyperscan is that if you enable HS_FLAG_UTF8[1], which hypergrep does[2,3], and then search invalid UTF-8, then the result is UB.
> This flag instructs Hyperscan to treat the pattern as a sequence of UTF-8 characters. The results of scanning invalid UTF-8 sequences with a Hyperscan library that has been compiled with one or more patterns using this flag are undefined.
That's another issue you'll need to grapple with if you use Hyperscan. PCRE2 used to have this issue[4], but they've since defined the semantics of searching invalid UTF-8 with Unicode mode enabled. ripgrep 14 uses that new mode, but I haven't updated that FAQ answer yet.
[1]: https://intel.github.io/hyperscan/dev-reference/api_files.ht...
[2]: https://github.com/p-ranav/hypergrep/blob/ee85b713aa84e0050a...
[3]: https://github.com/p-ranav/hypergrep/blob/ee85b713aa84e0050a...
[4]: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#why...
- Hypergrep: A Fast Recursive Grep
What are some alternatives?
moar - Moar is a pager. It's designed to just do the right thing without any configuration.
linux-regex-module - High-performance regular expression matching library for Linux kernel
grepedit
ov - 🎑Feature-rich terminal-based text viewer. It is a so-called terminal pager.
rebar - A biased barometer for gauging the relative speed of some regex engines on a curated set of tasks.
librapid - A highly optimised C++ library for mathematical applications and neural networks.
p4-fusion - A fast Perforce to Git conversion tool written in C++ using Perforce Helix Core C++ API and Libgit2
repgrep - An interactive replacer for ripgrep that makes it easy to find and replace across files on the command line.
streampager - A pager for command output or large files