trim

Crates.iotrim
lib.rstrim
version2.0.2
sourcesrc
created_at2019-07-11 03:02:44.478589
updated_at2021-03-14 03:29:22.180188
descriptiontrim whitespaces from files
homepage
repositoryhttps://gitlab.com/rustychoi/trim
max_upload_size
id148210
size40,575
Jack (jackwchoi)

documentation

README

trim

trim-crate

trim was inspired by the auto-trimming feature of Atom, where trailing whitespace of every line is removed, and trailing newlines are replaced with a single newline.

Table of Contents

  1. trim
    1. Overview

Overview

~
  $ trim --help
trim 1.2.1
Jack <jackwchoi@pm.me>
trim whitespaces from files

USAGE:
    trim [FLAGS] [files]...

FLAGS:
    -h, --help               Prints help information
    -i, --in-place           trim <files> in-place, overwritting the content of the files atomically
    -N, --supress-newline    suppress outputting the trailing `\n` in the last line
    -S, --supress-summary    suppress summary
    -V, --supress-visual     suppress visualizations of the trim
        --version            Prints version information

ARGS:
    <files>...    files to trim; if '-' exists or none provided, stdin will be used
Commit count: 2

cargo fmt