Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aksh-bansal-dev/findrs

Search for patterns in files
https://github.com/aksh-bansal-dev/findrs

Last synced: 25 days ago
JSON representation

Search for patterns in files

Awesome Lists containing this project

README

        

# findrs

Search for patterns in files

## How to install

```
cargo install --locked --all-features \
--git https://github.com/Aksh-Bansal-dev/findrs
```

## How to use

```
Usage: findrs [OPTIONS]

Options:
-i, --ignore-case Case insensitive search
-h, --help display help for findrs
-d, --dir search all the files in the directory
```

#### Example

```
findrs -d -r "^then" ./demo
```

This will search for 'then' at the beginning of line in the demo folder recursively.

> Note: if you want to try without installing(not recommended) `cargo run -- -d -r "^then" ./demo`