Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lstrip

Strips leading whitespace from all input lines

C License GitHub release Last Commit CI

Table of Contents

Introduction

lstrip is a small, standalone utility program that strips leading whitespace 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, lstrip.

Examples

$ echo "abc" | lstrip
abc
$ echo "  def" | lstrip
def
$ echo -e "abc\n  def\n\tghi" | lstrip
abc
def
ghi

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

lstrip depends on:

Tests-only Dependencies

For unit-testing, lstrip 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

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

About

Strips leading whitespace from all input lines

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages