ripgrep: add --line-buffered and --block-buffered

These flags provide granular control over ripgrep's buffering strategy.
The --line-buffered flag can be genuinely useful in certain types of shell
pipelines. The --block-buffered flag has a murkier use case, but we add it
for completeness.
This commit is contained in:
Andrew Gallant
2018-09-04 21:39:05 -04:00
parent 4846d63539
commit b6e30124e0
4 changed files with 79 additions and 1 deletions

View File

@@ -44,6 +44,8 @@ Feature enhancements:
Add `--null-data` flag, which makes ripgrep use NUL as a line terminator.
* [FEATURE #997](https://github.com/BurntSushi/ripgrep/issues/997):
The `--passthru` flag now works with the `--replace` flag.
* FEATURE:
Add `--line-buffered` and `--block-buffered` for forcing a buffer strategy.
Bug fixes: