1.0.1 • Published 6 years ago

grepx v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

grepx

Grep eXtended


Vave Code Style

Grepx is like grep, but cooler.

npm.io

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).

npm.io

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