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. :smile:
<PATTERN> pattern
<FILE> path
Usage
a test.md
is included in this repo:
to try out perg
on the included test.md
file:
# 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
Installation
Using Cargo via rustup
:
|
then install perg
binary:
Rust Books 🦀
As of now, Rust is one the most favorited programming according to StackOverflow. :gift:
Help, feedback or suggestions?
Feel free to contact me on Twitter for discussions, news & announcements & other projects. :rocket:
What's with the name?
Glad you asked, perg
is just the reversed of grep
.