Files
Lucas Trzesniewski f831189dc5 feat: add --in/--in0 flags for reading file paths (#273)
Adds `--in` and `--in0` command-line options, which read files or
directories to be searched from their arguments, as if they were
specified on the command line. The value `-` means the list of files
should be read from stdin.

e.g. having a file `files.txt` with the following content:

```
foo.txt
bar.txt
```

Then running `rg pattern --in files.txt` is *equivalent* to running `rg
pattern foo.txt bar.txt`.

`--in` reads from a text file (supporting LF and CRLF line
terminators), while `--in0` reads from a null-delimited file. Both
flags can be used multiple times.

These features are designed for reusing input files and ripgrep calls
chaining.

Closes #273, Closes #3459
2026-11-21 22:19:21 -05:00
..
2020-11-09 07:25:41 -05:00