Crates.io | kodumaro-trim |
lib.rs | kodumaro-trim |
version | 1.0.2 |
source | src |
created_at | 2024-08-28 15:09:32.854071 |
updated_at | 2024-08-28 15:12:57.577736 |
description | Command line tool to trim strings. |
homepage | https://crates.io/crates/kodumaro-trim |
repository | https://github.com/cacilhas/microcli/tree/master/kodumaro-trim |
max_upload_size | |
id | 1354759 |
size | 17,693 |
Kodumaro Trim aims to be a shell in-pipe tool for removing leading and trailing characters from strings.
cargo install kodumaro-trim
Usage: ktrim [OPTIONS] [FILE]
Arguments:
[FILE] input file, defaults to STDIN
Options:
-l, --left trim only leading
-r, --right trim only trailing
-c, --char <CHAR> character to be removed, defaults to whitespaces
-h, --help Print help
echo ' hello world ' | ktrim
License: BSD-3-Clause