| Crates.io | aki-mline |
| lib.rs | aki-mline |
| version | 0.2.0 |
| created_at | 2021-02-08 02:23:32.25632+00 |
| updated_at | 2025-09-15 13:19:09.443916+00 |
| description | match line, regex text filter like a grep of linux command. |
| homepage | |
| repository | https://github.com/aki-akaguma/aki-mline |
| max_upload_size | |
| id | 352155 |
| size | 157,909 |
the match line, regex text filter like a grep of linux command.
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
cargo install aki-mline
cargo deb
and install .deb into your local repository of debian package.
Extract "arm.*-gnu" from the rustup target list
rustup target list | aki-mline -e "arm.*-gnu"
result output :

Extract "apple" from the rustup target list
rustup target list | aki-mline -s "apple"
result output :

See fn execute() for this library examples.
This project is licensed under either of
at your option.