/minigrep

Rust version of the classic command line tool grep

Primary LanguageRustApache License 2.0Apache-2.0

minigrep

Rust version of the classic command line tool grep

Requirements

Rust-lang should be installed in your system.

Installation

git clone https://github.com/niranjana687/minigrep.git
cd minigrep
cargo build --release

Usage

./target/release/minigrep -<options> nemo find-nemo-the-movie.txt

Example - ./target/release/minigrep -i nemo find-nemo-the-movie.txt

Documentation

cargo doc --no-deps --open

Run tests

cargo test

Note

This is not a drop in replacement for the good old grep-like commands. This is written for the sake of learning Rust-lang.