kodumaro-trim

Crates.iokodumaro-trim
lib.rskodumaro-trim
version1.0.2
sourcesrc
created_at2024-08-28 15:09:32.854071
updated_at2024-08-28 15:12:57.577736
descriptionCommand line tool to trim strings.
homepagehttps://crates.io/crates/kodumaro-trim
repositoryhttps://github.com/cacilhas/microcli/tree/master/kodumaro-trim
max_upload_size
id1354759
size17,693
Montegasppα ℭacilhας (cacilhas)

documentation

README

kodumaro-trim

Kodumaro Trim aims to be a shell in-pipe tool for removing leading and trailing characters from strings.

Installation guide

cargo install kodumaro-trim

Usage

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

Examples

echo '   hello world   ' | ktrim

License: BSD-3-Clause

Commit count: 230

cargo fmt