Create README
This commit is contained in:
parent
95eb8fcf0a
commit
e810ac65a7
1 changed files with 28 additions and 0 deletions
28
README..md
Normal file
28
README..md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# m-grep 🔍
|
||||
|
||||
A simple grep-like tool written in Rust.
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
git https://codeberg.org/bux/m-grep.git
|
||||
cd m-grep
|
||||
cargo build --release
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
# Basic search
|
||||
m-grep <query> <file>
|
||||
|
||||
# Case-insensitive
|
||||
m-grep -i <query> <file>
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```bash
|
||||
m-grep "hello" src/main.rs
|
||||
m-grep -i "WHO" poem.txt
|
||||
```
|
||||
Loading…
Add table
Reference in a new issue