#grep #educational #super #txt #built #file #ubberusted

bin+lib grafgrep

A super simple grep built for educational purpose

2 releases

0.1.1 Aug 22, 2022
0.1.0 Aug 22, 2022

#33 in #super

MIT license

5KB
87 lines

grafgrep

gragrep is super simple and small a Rust implementation built for educational purpose.

Installation

Use the package manager cargo to install grafgrep.

cargo install grafgrep

Usage

# file.txt contains 
# Rust is a good tool
# and should be ubberusted

# returns 'and should be ubberusted'
grafgrep rust file.txt

# returns
# 'Rust is a good tool
# and should be ubberrusted'
IGNORE_CASE=1 grafgrep rust file.txt

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

No runtime deps