#regex #grep #cli #utility #util

grep-cli

Utilities for search oriented command line applications

6 releases

Uses old Rust 2015

0.1.5 May 29, 2020
0.1.4 Mar 16, 2020
0.1.3 Jun 26, 2019
0.1.2 Apr 15, 2019
0.1.1 Sep 7, 2018

#512 in Command line utilities

Download history 1641/week @ 2020-05-26 1274/week @ 2020-06-02 1280/week @ 2020-06-09 1205/week @ 2020-06-16 1197/week @ 2020-06-23 1269/week @ 2020-06-30 886/week @ 2020-07-07 938/week @ 2020-07-14 889/week @ 2020-07-21 1060/week @ 2020-07-28 914/week @ 2020-08-04 1026/week @ 2020-08-11 995/week @ 2020-08-18 1190/week @ 2020-08-25 1244/week @ 2020-09-01 942/week @ 2020-09-08

4,431 downloads per month
Used in 10 crates (5 directly)

Unlicense/MIT

150KB
3K SLoC

grep-cli

A utility library that provides common routines desired in search oriented command line applications. This includes, but is not limited to, parsing hex escapes, detecting whether stdin is readable and more. To the extent possible, this crate strives for compatibility across Windows, macOS and Linux.

Linux build status Windows build status

Dual-licensed under MIT or the UNLICENSE.

Documentation

https://docs.rs/grep-cli

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-cli = "0.1"

and this to your crate root:

extern crate grep_cli;

Dependencies

~2.5MB
~59K SLoC