Grep eXtended
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
.editorconfig
.gitignore
.npmignore
README.md
index.js
package.json
yarn.lock

README.md

grepx

Grep eXtended


Vave Code Style

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