hgrep 0.1.7

hgrep is a grep tool with human-friendly search output. It eats results of `grep -nH` and prints the matched position with code snippets. This is similar to `-C` option of `grep` command, but its output is enhanced with syntax highlighting. It focuses on human readable outputs. hgrep is useful to survey the matches with contexts around them. When some matches are near enough, hgrep prints the lines within one code snippet. To show contexts efficiently, hgrep adopt some heuristics around empty lines. hgrep provides a builtin subset implementation of ripgrep as optional feature.
Documentation

hgrep

There is very little structured metadata to build this page from currently. You should check the main library docs, readme, or Cargo.toml in case the author documented the features in them.

This version has 18 feature flags, 18 of them enabled by default.

default

  • ripgrep
  • bat-printer
  • syntect-printer

ripgrep

  • grep-matcher
  • grep-pcre2
  • grep-regex
  • grep-searcher
  • ignore
  • regex
  • rayon

bat-printer

  • bat
  • dirs-next

syntect-printer

  • syntect
  • rayon
  • unicode-width
  • bincode
  • flate2
  • rgb2ansi256

grep-matcher

    This feature flag does not enable additional features.

grep-pcre2

    This feature flag does not enable additional features.

grep-regex

    This feature flag does not enable additional features.

grep-searcher

    This feature flag does not enable additional features.

ignore

    This feature flag does not enable additional features.

regex

    This feature flag does not enable additional features.

rayon

    This feature flag does not enable additional features.

bat

    This feature flag does not enable additional features.

dirs-next

    This feature flag does not enable additional features.

syntect

    This feature flag does not enable additional features.

unicode-width

    This feature flag does not enable additional features.

bincode

    This feature flag does not enable additional features.

flate2

    This feature flag does not enable additional features.

rgb2ansi256

    This feature flag does not enable additional features.