peppergrep 0.1.1

A simple grep utility written following the 12th chapter of the Rust book. Some little modifications were made.
Documentation
  • Coverage
  • 0%
    0 out of 9 items documented0 out of 5 items with examples
  • Size
  • Source code size: 5.25 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.35 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • Documentation
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • pepperjackdev

Welcome to peppergrep!

This simple grep utility was made by following the 12th chapter of the Rust Book (formally known as The Rust Programming Language). Some small changes have been made.

Installation

You can install this simple utility via cargo install:

cargo install peppergrep 

If the installation completes successfully, you're all set to use peppergrep!

Usage

To use this utility, just run:

peppergrep <query> <source_file> [--ignore-case / --attend-case]

where query is the string you're looking for, source_file is the path of the file you're searching the query in. --ignore-case and --attend-case are optional arguments that you can specify to force case insensitivity or sensitivity. By default, all searches are case-sensitive. You can override this default behavior by creating an environmental variable called IGNORE_CASE.

On linux, it would be:

IGNORE_CASE = 1

On windows (PowerShell):

$env:IGNORE_CASE = 1;

Uninstall

To uninstall this utility, just run:

cargo uninstall peppergrep