17 lines
333 B
Markdown
17 lines
333 B
Markdown
# filter
|
|
|
|
A simple tool to filter the input interactively in a POSIX pipeline.
|
|
|
|
## How to build?
|
|
Just run `go build .`
|
|
|
|
## How to install
|
|
Just copy the `filter` program somewhere in your `PATH`
|
|
|
|
## Usage
|
|
Use the filter command in a pipeline like:
|
|
|
|
```bash
|
|
git commit -a --fixup $(git log --oneline|filter|cut -d ' ' -f 1 |xargs)
|
|
```
|