Genivia / ugrep

NEW ugrep 7.1: a more powerful, ultra fast, user-friendly, compatible grep. Includes a TUI, Google-like Boolean search with AND/OR/NOT, fuzzy search, hexdumps, searches (nested) archives (zip, 7z, tar, pax, cpio), compressed files (gz, Z, bz2, lzma, xz, lz4, zstd, brotli), pdfs, docs, and more
https://ugrep.com
BSD 3-Clause "New" or "Revised" License
2.66k stars 111 forks source link

[FR] option --index should enable --recursive #410

Closed genivia-inc closed 4 months ago

genivia-inc commented 4 months ago

It makes sense to implicitly enable option --recursive when --index is specified. Index-based search expects/requires recursive searching. If --index is specified with -d skip (skip directories) then an error message should be produced saying that index-based searching requires recursion.

I can't see any downsides.