aki-mline

aki-mline is the match line, regex text filter like a grep of linux command.

Features

aki-mline is the match line, regex text filter like a grep of linux command.

text aki-mline --help

```text Usage: aki-mline [options]

match line, regex text filter like a grep.

Options: --color use markers to highlight the matching strings -e, --exp regular expression -s, --str simple string match -i, --inverse output non-matching lines.

-H, --help display this help and exit -V, --version display version information and exit

Env: AKIMLINECOLORST color start sequence AKIMLINECOLORED color end sequence ```

Quick install

  1. you can install this into cargo bin path:

text cargo install aki-mline

  1. you can build debian package:

text cargo deb

and install .deb into your local repository of debian package.

Examples

Command line example 1

Extract "arm.*-gnu" from the rustup target list

rustup target list | aki-mline -e "arm.*-gnu"

result output :

![out rustup image]

Library example

See [fn execute()] for this library examples.