Skip to content

Latest commit

 

History

History
63 lines (38 loc) · 1.58 KB

README.md

File metadata and controls

63 lines (38 loc) · 1.58 KB

filt Build Status GitHub release Coverage Code to Test Ratio Test Execution Time

filt is a interactive/realtime stream filter ( also known as "trial-and-error pipe" ).

screencast

Usage

$ tail -F /var/log/nginx/access.log | filt

and enter Ctrl+C.

How to filter files by trial and error

You can use --buffered ( -b ) option

$ cat /var/log/nginx/access.log | filt -b

and enter Ctrl+C.

How to exit from filt prompt

Input "exit" to prompt or enter Ctrl+C.

Enable or Disable saving history

Enable:

$ filt config history.enable true

Disable:

$ filt config history.enable false

Install

homebrew tap:

$ brew install k1LoW/tap/filt

manually:

Download binany from releases page

go install:

$ go install github.com/k1LoW/filt@latest

Alternatives

  • up: up is the Ultimate Plumber, a tool for writing Linux pipes in a terminal-based UI interactively, with instant live preview of command results.