Skip to content

A better version of the minigrep project in the Rust Book - Chapter 12 and my first project in Rust.

Notifications You must be signed in to change notification settings

Artin-GH/minigrep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Mini Grep

A better version of the minigrep project in the Rust Book - Chapter 12 and my first project in Rust.

Updated sections

  1. Used iterator features instead of performing a for loop through the vector items collected from iterator.

  2. Added abality to pass --ignore-case argument to search with case-insensitive behavior beside environment variable IGNORE_CASE.

  3. If the file_path argument isn't passed, it now reads from the stdin and beside:

    minigrep query poem.txt --ignore-case

    Can be run this way as well:

    cat poem.txt | minigrep query --ignore-case

About

A better version of the minigrep project in the Rust Book - Chapter 12 and my first project in Rust.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages