https://github.com/diepala/minigrep
https://github.com/diepala/minigrep
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/diepala/minigrep
- Owner: diepala
- Created: 2023-01-14T13:30:24.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-15T12:39:19.000Z (over 2 years ago)
- Last Synced: 2025-01-13T03:31:31.587Z (5 months ago)
- Language: Rust
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MiniGrep
MiniGrep is a simple grep clone written in Rust.
## Usage
```bash
cargo run --
```To do a case-insensitive search, set the `IGNORE_CASE` environment variable:
```bash
IGNORE_CASE=1 cargo run --
```## Testing
```bash
cargo test
```## Credits
This project is based on the [Rust Book](https://doc.rust-lang.org/book/ch12-00-an-io-project.html).