niranjana687 / minigrep

Rust version of the classic command line tool grep

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Rust version of the classic command line tool grep

License:Apache License 2.0


Languages

Language:Rust 100.0%