Skip to content

FaizeenHoque/MiniGrep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniGrep

A simple, fast, and lightweight CLI tool for searching text in files — written in Rust.

Features

  • Search for a string inside a file
  • Case-sensitive and case-insensitive modes
  • Cross-platform support (Windows, Linux, macOS)
  • Simple usage and installation

Installation (Windows)

Usage

minigrep <query> <filename> [--case-insensitive]

Examples

minigrep "hello" notes.txt
minigrep "trust" poem.txt --case-insensitive

Build from Source

git clone https://github.com/yourusername/minigrep.git
cd minigrep
cargo build --release

The executable will be in target/release/minigrep.exe.

License

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
You are free to use, modify, and share the software — but not for commercial purposes.

See LICENSE for full terms.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages