perg
A micro lightweight implementation of grep, written in Rust.
It's mainly for my journey to learn Rust programming language and its fascinated ecosystem, but feel free to use it if you like it. :smile:
<PATTERN> pattern
<FILE> path
Installation
Using Cargo via rustup:
|
then install perg binary:
Usage
a test.md is included in this repo, to try out perg:
# hello world
# hi world
perg also support regular expression search, like grep:
# hello world
# hi world
# hello world
# bye world
# bye world
# end of file
case insensitive search:
# hi world
# end of file
Help, feedback or suggestions?
Feel free to contact me on Twitter for discussions, news & announcements & other projects. :rocket: