1 unstable release
0.1.0 | Jun 26, 2024 |
---|
#1019 in Command line utilities
12KB
231 lines
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
Dependencies
~1–11MB
~77K SLoC