No description
Find a file
2026-04-29 21:00:12 +02:00
src Integration testing 2026-04-23 18:03:45 +02:00
.gitignore first commit 2026-04-22 11:22:24 +02:00
Cargo.lock Add a search function 2026-04-22 19:34:27 +02:00
Cargo.toml Add a search function 2026-04-22 19:34:27 +02:00
poem.txt Add a search function 2026-04-22 19:34:27 +02:00
README.md Update README 2026-04-29 21:00:12 +02:00

A simple grep-like tool written in Rust.

Installation

git clone https://github.com/mindfreq/simple-grep.git
cd simple-grep
cargo build --release

Usage

# Basic search
s-grep <query> <file>

# Case-insensitive
s-grep -i <query> <file>

Examples

s-grep "hello" src/main.rs
s-grep -i "WHO" poem.txt