trim: A command-line tool for trimming whitespace

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

trim is a simple command-line tool for removing unwanted whitespace from files


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.12.0.0 && <4.13), directory (>=1.3 && <1.4), optparse-applicative (>=0.14 && <0.15) [details]
License BSD-3-Clause
Author Andrew Lee
Maintainer andrewl@mbda.fun
Category Text
Home page https://github.com/ndrewtl/trim
Source repo head: git clone https://github.com/ndrewtl/trim
Uploaded by ndrewtl at 2019-01-27T18:26:48Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for trim-0.1.0.0

[back to package description]

trim

Build Status

trim is a simple unix-philosophy tool to trim trailing whitespace from a file. It is designed to be simple and transparent. It takes input from stdin and output from stdout, for easy piping.

Usage

trim [-N|--newlines] [-o|--output ARG] [FILE]

trim with no flags takes input from stdin and prints to stdout. It trims trailing whitespace from each line, but does not trim additional newlines.

Building

Build with cabal v2-build