Overview
peco is a Go-based interactive filtering tool inspired by percol, designed to filter data streams in the command line. Unlike grep, peco allows users to type queries dynamically and iteratively refine results, making it suitable for filtering logs, process stats, and files. It works by reading input lines from stdin, applying filters based on user-typed queries, and displaying matching lines in an interactive interface. Key features include incremental search, multiple term AND queries, negative matching, and support for different filter types like IgnoreCase, CaseSensitive, SmartCase, Regexp, and Fuzzy. Users can also freeze and unfreeze results for multi-stage filtering. The selected line is printed to stdout for further processing.
