Skip to content

sistools/chomp

Repository files navigation

chomp

Strips trailing new line(s) from input

Table of Contents

Introduction

chomp is a small, standalone utility program that removes end-of-line sequence from lines in its input.

Installation

Detailed instructions - via CMake, via bundling, via custom makefile parameters - are provided in the accompanying INSTALL.md file.

Components

The project creates a single executable program, chomp.

Examples

$ pwd
/Users/.../sistools/chomp
$ pwd | chomp
/Users/.../sistools/chomp%
$

Project Information

Where to get help

GitHub Page

Contribution guidelines

Defect reports, feature requests, and pull requests are welcome on the cstring GitHub page.

Dependencies

chomp depends on:

Tests-only Dependencies

For unit-testing, chomp depends additionally on:

  • Catch2 - for the unit-test specification and results assessment;
  • xTests - for utility components (such as xtests::cpp::util::temp_file);

Related projects

Other (similar) project include:

License

chomp is released under the 3-clause BSD license. See LICENSE for details.

About

Strips trailing new line(s) from input

Resources

License

Stars

Watchers

Forks

Packages

No packages published