sgrep

Crates.iosgrep
lib.rssgrep
version0.1.0
sourcesrc
created_at2024-06-26 04:36:18.901908
updated_at2024-06-26 04:36:18.901908
descriptionA simple grep util for those lazy to remember many command line options
homepagehttps://gitlab.com/thiagomg/sgrep
repositoryhttps://gitlab.com/thiagomg/sgrep
max_upload_size
id1284156
size33,605
Thiago Massari Guedes (thiagomg)

documentation

README

Simple Grep (sgrep)

A simple grep util for those lazy to remember many command line options

Usage

# Displays lines containing "pub struct" string in all .rs files in the local directory
sgrep -p "pub struct" *.rs

# Displays lines containing "#ifdef" or "#ifndef" in all *.c* and *.h* files
sgrep -p "#ifdef" -p "#ifndef" -f .c -f .h
Commit count: 4

cargo fmt