grepx
v1.0.1
Published
Grep eXtended
Downloads
2
Readme
grepx
Grep eXtended
Grepx is like grep, but cooler.
Grepx gives you nice clean highlight of found occurences, line number and summary. It also has a shortcut for searching today's ISO string (for easy log reading).
Usage
npm install -g grepx
grepx [-options] [pattern]
You can either pipe input into grepx, or specify a file manually:
cat /path/to/file.txt | grepx <pattern>
grepx -f /path/to/file.txt <pattern>
Options:
- -n, --no-numbers - Don't show line numbers
- -t, --today - Search for today's ISO string
- -f, --file [file] - File path
- -r, --regex-flags [flags] - Regex flags