minigrepf 0.1.3

A tiny grep clone to search a single file, with an IGNORE_CASE environment variable option.
Documentation
  • Coverage
  • 33.33%
    2 out of 6 items documented1 out of 5 items with examples
  • Size
  • Source code size: 6.54 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.32 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Fittiboy

minigrepf

This is the simple minigrepf command line tool from the book "The Rust Programming Language," chapter 12.

Usage:

$ ls
poem.txt minigrepf

$ cat poem.txt
I'm nobody! Who are you?
Are you nobody, too?
Then there's a pair of us - don't tell!
They'd banish us, you know.

How dreary to be somebody!
How public, like a frog
To tell your name the livelong day
To an admiring bog!

$ ./minigrepf to poem.txt
Are you nobody, too?
How dreary to be somebody!

$ IGNORE_CASE=1 ./minigrepf to poem.txt
Are you nobody, too?
How dreary to be somebody!
To tell your name the livelong day
To an admiring bog!