Ever heard of ugrep?
Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.
31–40 of 59 posts
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.
#32Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.
#33How does this compare with ugrep? I know that does many of these things while sticking with C++.
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.
#34Ever heard of ugrep?
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.
#35Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.
#36According to a quick check against /usr/share/dict/words "fi" occurs in about 1.5% of words and "fl" occurs in about 1%. There are other ligatures that sometimes occur but those are the most common in English I believe.
I don't have any sense of how common ligature usage is anymore (I notice that the word "Office" in the title of this article is not rendered with a ligature by Chrome) but it might be insanity inducing to end up on the wrong side of a failed search where ligatures were not normalized.
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.
#37Earlier quoted context omitted.
None of them really execute "code". Pandoc has a pretty good write up of the security implications or running it, which I think applies just as much to the other ones, with the added caveat of zip bombs. https://pandoc.org/MANUAL.html#a-note-on-security It's just text, this isn't ripgrepping through your excel macros, just the data that's actually in the excel file.
I don't think there's a default excel adapter in rga. (I wanted one somewhat recently, and then doing a find for xls on the linked page returns 0 results)
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.
#38Would be cool if it also searched metadata in images, audio, video.
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.
#39it would be great if support xlsx.
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.
#40What dependencies does it install and does it create a bunch of caches, indices that clog up storage and/or memory? (Besides rip grep)
For all of the built-in adapters to work, you'll need ffmpeg, pandoc, and poppler-utils. See the Scoop package [1] for a specific example of this.
> does it create a bunch of caches, that clog up storage and/or memory?
YMMV, but in my opinion ripgrep-all is pretty conservative in its caching. The cache files are all isolated to a single directory (whose location respects OS convention) and their contents are limited to plaintext that required processing to extract.
[1]: https://github.com/ScoopInstaller/Main/blob/master/bucket/rg...