Crates.io | grep-clone |
lib.rs | grep-clone |
version | 0.2.1 |
source | src |
created_at | 2023-04-02 10:35:44.353303 |
updated_at | 2023-04-02 11:11:55.525787 |
description | A mini grep clone from the Rust-lang official tutorial |
homepage | |
repository | |
max_upload_size | |
id | 827967 |
size | 6,812 |
Implementation of https://doc.rust-lang.org/book/ch12-00-an-io-project.html
This is a toy project that works by supporting searching for a string in a file.
cargo install grep-clone
grep-clone string file.txt
It also supports ignore-case
grep-clone string file.txt -i
Or
grep-clone string file.txt --ignore-case
Or
export IGNORE_CASE=true
grep-clone string file.txt