/minigrep

A simple clone of the grep command-line tool implemented from "The Rust Programming Language" book.

Primary LanguageRust

minigrep

A simple clone of the grep command-line tool implemented from The Rust Programming Language book.

USAGE:
    minigrep <pattern> <filename> [OPTIONS]

ARGUMENTS:
    <pattern>           Keywords to search for
    <filename>          File path to read from

OPTIONS:
    --any               Ignore case sensitivity

MORE:
    Setting an environment variable called "CASE_INSENSITIVE" will trigger 
    ignoring case-sensitivity in the search results. The --any flag overrides 
    this check.