This project aims to create a simpler version of the classic Linux command-line tool grep.
The project was written in Rust.
$ cd <project_root>
$ cargo run -- to poem.txt
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.02s
Running `target\debug\minigrep.exe to poem.txt`
Are you nobody, too?
How dreary to be somebody!
- rustc 1.84.0 (9fc6b4312 2025-01-07)
The following instructions assume the user has Ubuntu as their local machine's OS. Most instructions should work for other Linux distributions as well, though mileage may vary.
Set up Rust (v1.84.0) on the local machine.
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
Clone this GitHub repository into the local machine.
git clone --single-branch -b main <project_repo_url> <project_root>
Install missing libraries required for running the project (if any).
cargo build
Run the application from the command-line.
cd <project_root>
cargo run
This project is licensed under the MIT License - see the LICENSE file for details.