ffgrep

command module
v0.0.0-...-27d94e0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

README

Usage

ffgrep - parallel file pattern searcher

  -c int
    	Set the maxiumn number of CPU when executing. (default 4)
  -e string
    	Match each line by the given regular expression pattern.
  -m int
    	Run m jobs to consume lines of the file. (default 4)
  -r int
    	Run up to r readers to read the file. (default 1)

Example:
  # search text pattern
  ffgrep "hello" access.log

  # search regular expression pattern
  ffgrep -e 'hello[ab]+world' access.log

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