Can we stop and get some grep
?
Mom: we have grep
at home
This project is building on the Rust CLI book exercise.
Prerequisites:
- Rust
- Cargo
- Git
git clone https://github.com/timTonelli/grep-at-home.git
cd grep-at-home
cargo build --release
cargo install --path .
test.txt
can be used to test the tool out:
gah foo test.txt
or:
cat test.txt | gah foo
Both of the above example should yield foo: 10