Crates.io | grafgrep |
lib.rs | grafgrep |
version | 0.1.1 |
source | src |
created_at | 2022-08-22 15:34:10.552844 |
updated_at | 2022-08-22 15:44:00.738539 |
description | A super simple grep built for educational purpose |
homepage | |
repository | |
max_upload_size | |
id | 650441 |
size | 4,838 |
gragrep is super simple and small a Rust implementation built for educational purpose.
Use the package manager cargo to install grafgrep.
cargo install grafgrep
# 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
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.