contentsearch

command module
v0.0.0-...-a42b701 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2021 License: MIT Imports: 9 Imported by: 0

README

contentsearch

search content by regex match and output to a file with dupliacation emitted

  • usage example
 .\contentsearch.exe -root "C:\bro\html" -reg ">(?P<name>[A-Z]{3}-[A-Z]{3}-.*)<\/td>" -out "C:/work/tmp/r2.txt"
  • full help
.\contentsearch.exe -?

you may get

Usage of C:\work\tmp\contentsearch.exe:
 -exclude string
       exclude file extension. eg. .zip,.exe (default ".zip,.exe")
 -out string
       search result output file fullname (default "C:/work/tmp/r.txt")
 -p int
       index of the capture group, -1 for whole line (default 1)
 -reg string
       regex for search line (default "MailMapper\\.getMailBody - ==> Parameters:\\s(?P<name>.*)\\(String\\)")
 -root string
       search root (default "C:/work/f")
  • next version feature
  1. add support for bloom filter

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL