1.1.2 • Published 7 years ago

win-grep v1.1.2

Weekly downloads
16
License
-
Repository
github
Last release
7 years ago

#WIN-GREP

Win-Grep is a node module to get "wgrep" command on windows

Install

$ npm install -g win-grep

Prefer global install

Usage

$ wgrep [<options>] <file-pattern> <search-pattern>

Options

Help

-h, --help              Display help.

Version

-v, --version           Display version.

Version

-d, --debug             Debug mode.

Highlight

-g, --highlight         Enabled highlight

Ignore case

-i, --ignoreCase        Ignore case.

Result by file

-f, --resultByFile      Print result by file. Use it for large file set..
    

Renderer

-r, --renderer          Choose renderer
RendererDescription
consolePrint result array directly
inlinedefault Print by line
tablePrint table, one table per file
vert-tablePrint each line in a table
jsonPrint result as JSON
count-by-filePrint number of match per file
count-by-typePrint number of match per file type
count-by-datePrint number of match per file date