Skip to content

tomahg/Console.Join

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Console.Join

Join is a simple console application that receives multi-line text from standard input and returns it as single-line text to standard output. Pipe in, pipe out!

Example with the file input.txt

one
two
three

Default delimiter

Usage

type input.txt join

Output

one two three 

Specified delimiter

Usage

type input.txt join ", "

Output

one, two, three 

Trim

If the input contains leading/trailing whitespace, like this.

 one
         two    
  three

Every line will be trimmed before joining them.

one two three 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages