perg
A micro lightweight alternative to grep, without highlighting, written in Rust. Currently it only support local path.
<pattern>
<path>
Installation
Using Cargo via rustup:
|
then install perg binary:
Usage
Quick example
on current repo:
#[derive(StructOpt)]
#[derive(Debug)]
Another Example
on a test file, then search for a pattern:
# hello world
# hi world
# by world
# hello world
# bye world
Regular Expression
perg also support regular expression search, like grep:
# hello world
# hi world
# hello world
# bye world
Help, feedback or suggestions?
Feel free to contact me on Twitter for discussions, news & announcements & other projects. :rocket: