/search

A simple grep like tool for searching text in files

Primary LanguageRustGNU General Public License v3.0GPL-3.0

🔍 Search

A simple grep like tool for searching text in files

Example

Demo 1

Demo 2

Demo 3

Demo 4

Usage

search <pattern> <path> [args]

Options

There are a few options you can use to customize the search

Case sensitive search

search <pattern> <path> -c

Or

search <pattern> <path> --case-sensitive

Show line number

search <pattern> <path> -l

Or

search <pattern> <path> --line-number

Show summary

search <pattern> <path> -s

Or

search <pattern> <path> --summary

Show help message

search <pattern> <path> -h

Or

search <pattern> <path> --help

Disable colored output

search <pattern> <path> -nc

Or

search <pattern> <path> --no-color

Licence

This project is licensed under the GNU General Public License v3.0 - see the LICENCE file for details