Skip to content

danydiaz91/minigrep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniGrep Project

This project is based on the project described in the book of Rust ch-12 -> https://doc.rust-lang.org/book/ch12-01-accepting-command-line-arguments.html

Commands

Test

$ cargo test

Run

$ cargo run body poem.txt

This is an example and where 'body' is the query to search and poem.txt the file where we want to search.

Another example to search without case sensitive:

$ CASE_INSENSITIVE=1 cargo run are poem.txt

Author

Dany Diaz - 2020

About

minigrep with Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages