Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

rust-grep-cli

README.md

rust-grep-cli

The app is an very basic implementation of grep.

It is inspired by this simple CLI app from the Rust book, ch 12.

Todo

  • Create a grep like command that works in both:
    • detect stdin redirected mode vs "normal" mode (using atty crate)
    • stdin redirected mode
      • builder for args for search string and case-insensitive search
      • colorize output for matches
    • file reading mode
      • builder for args for search string, file path, and case-insensitive search
      • colorize output for matches

Usage

To run the program, you can execute the run.fish script.