1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-03-28 12:42:13 +02:00
Andrew Gallant fbb2cfed28 printer: trim line terminator before doing replacements
This is basically the same bug as , but applied to replacements
instead of --only-matching.

Fixes 
2021-05-31 21:51:18 -04:00
..
2020-11-02 10:52:51 -05:00

grep-printer

Print results from line oriented searching in a human readable, aggregate or JSON Lines format.

Build status

Dual-licensed under MIT or the UNLICENSE.

Documentation

https://docs.rs/grep-printer

NOTE: You probably don't want to use this crate directly. Instead, you should prefer the facade defined in the grep crate.

Usage

Add this to your Cargo.toml:

[dependencies]
grep-printer = "0.1"

and this to your crate root:

extern crate grep_printer;