Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diepala/minigrep
https://github.com/diepala/minigrep
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/diepala/minigrep
- Owner: diepala
- Created: 2023-01-14T13:30:24.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-15T12:39:19.000Z (almost 2 years ago)
- Last Synced: 2024-05-02T03:24:31.209Z (8 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).