reduf / search

GUI built on ripgrep for recursive file content searching.
MIT License
48 stars 5 forks source link

Search inside compressed files #26

Open althom22 opened 1 year ago

althom22 commented 1 year ago

Is there a way to add ripgrep -z option to search inside compressed files too ?

reduf commented 1 year ago

I had a look and ripgrep does it calling into 3rd party binaries as can be seen here..

This probably work very well on Linux and poorly on Windows. We can of course do it purely in the code, but also need to implement some stuff to properly print the file names. It also might play poorly with the "Open in editor" feature.

I doubt I will implement it, but I think it would definitely bring value, complexity and bloat. It's hard to know if it's the right trade-off, but seems interesting.