# aki-mline
[![crate][crate-image]][crate-link]
[![Docs][docs-image]][docs-link]
![Rust Version][rustc-image]
![Apache2/MIT licensed][license-image]
[![Test ubu][test-ubuntu-image]][test-ubuntu-link]
[![Test mac][test-windows-image]][test-windows-link]
[![Test win][test-macos-image]][test-macos-link]
the match line, regex text filter like a grep of linux command.
## Features
- the match line, regex text filter like a grep of linux command.
- minimum support rustc 1.65.0 (897e37553 2022-11-02)
## Command help
```
aki-mline --help
```
```
Usage:
aki-mline [options]
match line, regex text filter like a grep.
Options:
--color <when> use markers to highlight the matching strings
-e, --exp <exp> regular expression
-s, --str <string> simple string match
-i, --inverse output non-matching lines.
-H, --help display this help and exit
-V, --version display version information and exit
Option Parameters:
<when> 'always', 'never', or 'auto'
<exp> regular expression
<string> simple string, non regular expression
Environments:
AKI_MLINE_COLOR_SEQ_ST color start sequence specified by ansi
AKI_MLINE_COLOR_SEQ_ED color end sequence specified by ansi
```
## Quick install
1. you can install this into cargo bin path:
```
cargo install aki-mline
```
2. you can build debian package:
```
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
```