No description
|
|
||
|---|---|---|
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| poem.txt | ||
| README.md | ||
A simple grep-like tool written in Rust.
Installation
git https://codeberg.org/bux/m-grep.git
cd m-grep
cargo build --release
Usage
# Basic search
m-grep <query> <file>
# Case-insensitive
m-grep -i <query> <file>
Examples
m-grep "hello" src/main.rs
m-grep -i "WHO" poem.txt